pf100, I am trying to learn some basic scripting, what does the code for osrss actually do, Unregister and Register the dll?
If you unregister them Windows 10 will just reregister them again. You have to use a bigger hammer with this stuff. To disable osrss: Take ownership of osrss.dll from Trusted Installer: takeown /f "%systemroot%\System32\osrss.dll" /a >nul 2>&1 reset all users to default: icacls "%systemroot%\System32\osrss.dll" /reset >nul 2>&1 remove all user permissions making the file not readable or writable: icacls "%systemroot%\System32\osrss.dll" /inheritance:r /remove *S-1-5-32-544 *S-1-5-11 *S-1-5-32-545 *S-1-5-18 >nul 2>&1 To re-enable osrss (in uninstaller): Take ownership of file: takeown /f "%systemroot%\System32\osrss.dll" /a >nul 2>&1 reset users to default: icacls "%systemroot%\System32\osrss.dll" /reset >nul 2>&1 restore owner of file to Trusted Installer: icacls "%systemroot%\System32\osrss.dll" /setowner *S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464 >nul 2>&1 The >nul 2>&1 at the end just means don't give any output on the screen.
>nul 2>&1 on any kind of script is a silent switch for scripts then, remove it and things show, righto, got that. Got the rest too. Sorry for the slight hijack. Thank you pf100
>nul 2>&1 on any kind of command is a silent switch for commands. A script is a collection of commands. No problem.
pf100, i didnt know the catroot2 folder is part of the update process. I would like to see an easy guide to windows updating, what folders are used, what folders can be cleaned out, relevant parts of the registry etc.
It might do pf100, i will give it a good look later. I want to get away from using 3rd party tools where possible and use custom scripts instead to do things and cleaning up afrer windows update is one, remove any "pendings" folders and registry entries under Component Based Servicing. Thanks again pf100. Sorry about all the questions lately but you dont ask saudis about snow
June 22, 2018 WUMT Wrapper Script 2.3.7 portable and installer. Changelog since 2.3.6: Disables Windows 10 Update Facilitation Service (OS Remediation System Service - osrss) Script behaves like the old script with Windows 7 and below only manipulating the update service and running WUMT. Script converted back to batch script. Improved Configurator. Thanks @rpo and @Lars220.