net stop sharedaccess
reg add HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Windows /v ErrorMode /t REG_DWORD_LITTLE_ENDIAN /d 2 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting" /v DontShowUI /t REG_DWORD_LITTLE_ENDIAN /d 1 /f
serverWerOptin /d
gpupdate /force /wait:0
exit