1. daveo76

    daveo76 MDL Expert

    Nov 9, 2009
    1,074
    282
    60
    What you expect when using Insider Builds. Those are not stable and many scripts don't work well with Insider Builds.
     
  2. biatche

    biatche MDL Addicted

    Nov 14, 2009
    573
    144
    30
    I saw your changelog theres WSL/RS2 version but does it apply to RS2 itself or... .is it meant for some other versions/editions
     
  3. kuroda

    kuroda MDL Senior Member

    Aug 25, 2012
    445
    32
    10
    ...Hi MSMG I do not want rewrite the script because i could cause a mess here, could you fix the script in removal defender and re-upload the toolkit again?...Thanks!
     
  4. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    763
    558
    30
    Must confess, I also hoped for the 7.0 version to be the GUI toolkit.
    But now it seems it is still in the early stages. Oh well.
    The commandline toolkit is OK to work with in the meantime.

    Cheers.
     
  5. daveo76

    daveo76 MDL Expert

    Nov 9, 2009
    1,074
    282
    60
    Yes it works for RS2 itself
     
  6. tefor

    tefor MDL Senior Member

    Apr 5, 2017
    317
    240
    10
    Thanks Kuroda , the same problem with me while removing Defender
    and thanks to MSMG for this perfect utility
     
  7. wasd

    wasd MDL Junior Member

    Sep 13, 2011
    55
    12
    0
    Just replace the lines he said, easier impossible.
     
  8. kuroda

    kuroda MDL Senior Member

    Aug 25, 2012
    445
    32
    10
    ...Well I asked if can do it....if not ok, I'll try here....Thanks!
     
  9. YamazakiRobert

    YamazakiRobert MDL Novice

    Dec 27, 2013
    22
    1
    0
    @MSMG whats is the difference on component removal on the option 4 2 have to remove the store too on windows 10
     
  10. dhjohns

    dhjohns MDL Guru

    Sep 5, 2013
    3,262
    1,733
    120
    Removing Store, and XBox, then going in to Advanced Windows Components removal, and removing Store Associations does not totally remove everything in Enterprise 16184. There are still download tiles in the Start Menu which must be unpinned manually.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. R23

    R23 MDL Member

    Apr 5, 2017
    124
    28
    10
    #1811 R23, Apr 29, 2017
    Last edited: Apr 29, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. YamazakiRobert

    YamazakiRobert MDL Novice

    Dec 27, 2013
    22
    1
    0
    there is a fix for fefaultuser0 in this toolkit? because on creators updated modded iso this user show again
     
  13. AeonX

    AeonX MDL Addicted

    May 24, 2013
    796
    725
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. dhjohns

    dhjohns MDL Guru

    Sep 5, 2013
    3,262
    1,733
    120
    Save with .cmd extension, then run as admin.
    Code:
    SET UserToRemove="defaultuser0"
    REM 'CALL' check registry subroutine check for existance and remove.
    FOR /f "tokens=*" %%a IN ('REG query "HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList"^|find /i "s-1-5-21"') DO CALL :ChkRegistry "%%a"
    GOTO :Finish
    
    :ChkRegistry
    REM -----------------------------------------------------------------------
    REM Results of ERRORLEVEL are:
    REM 0  -- If UserToRemove is found in the registry then run rest of script.
    REM 1  -- If UserToRemove is NOT found in the registry then exit script.
    REM -----------------------------------------------------------------------
    FOR /f "tokens=3" %%g in ('reg query %1 /v ProfileImagePath') DO SET UserProfilePath=%%g
    FOR /f "tokens=3 delims=\" %%e in ('echo %UserProfilePath%') DO SET ProfileName=%%e
    FOR /f "tokens=1 delims=." %%f IN ('echo %ProfileName%') DO SET ParseRegistry=%%f
    ECHO %UserToRemove%|find /I "%ParseRegistry%" > NUL
    IF ERRORLEVEL=1 GOTO :Finish
    
    REM Remove that user...
    RMDIR "%SystemDrive%\Users\%ProfileName%" /s /q
    REG delete %1 /f >nul
    IF EXIST "%SystemDrive%\Users\%ProfileName%" GOTO :RetryDirRemove
    GOTO :Finish
    
    :RetryDirRemove
    TAKEOWN /F "%ProfileName%" >nul
    TIMEOUT /T 2 >nul
    ICACLS "%ProfileName%" /GRANT *S-1-1-0:F >nul
    TIMEOUT /T 2 >nul
    RMDIR "%SystemDrive%\Users\%ProfileName%" /s /q
    
    :Finish
    REM End of script...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. tefor

    tefor MDL Senior Member

    Apr 5, 2017
    317
    240
    10
    I replaced all 12 instances of "rd /q /s call :TakeFileFolderOwnership" with "rd /q /s" without quotation marks , but MSMG gives startup error as R23 stated in his last message. This doesnt seem to be the right solution , i think
     
  16. R23

    R23 MDL Member

    Apr 5, 2017
    124
    28
    10
    Maybe 12 lines.
    It does`t not matters.
    I use standard Windows Notepad for replace.
    Maybe UTF-8 coding page incorrect?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. R23

    R23 MDL Member

    Apr 5, 2017
    124
    28
    10
    Save in ANSI coding page.
    It`s work!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...