Salut,
J'ai un user un peu trop zélé qui a pourri sa machine...
La finalité est que quand je souhaite activer le service windows update sur sa machine (hors domaine) j'ai un accès refusé
J'avais déjà eu ce soucis auparavant, et il me semblait qu'en mettant la "propriété" (ownership) d'une clef de registre sur le nom de l'user j'avais pu reprendre le controle, mais impossible de retrouver cette clef.
Auriez vous une idée svp ?
J'ai déjà testé ce script sans succès
Code :
- %Windir%\system32\net.exe stop bits
- %Windir%\system32\net.exe stop wuauserv
- reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f
- reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f
- reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f
- reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientValidation /f
- reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v LastWaitTimeout /f
- reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v DetectionStartTime /f
- reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /f
- if exist %Windir%\system32\atl.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\atl.dll
- if exist %Windir%\system32\jscript.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\jscript.dll
- if exist %Windir%\system32\softpub.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\softpub.dll
- if exist %Windir%\system32\wuapi.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\wuapi.dll
- if exist %Windir%\system32\wuaueng.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\wuaueng.dll
- if exist %Windir%\system32\wuaueng1.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\wuaueng1.dll
- if exist %Windir%\system32\wucltui.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\wucltui.dll
- if exist %Windir%\system32\wups.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\wups.dll
- if exist %Windir%\system32\wups2.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\wups2.dll
- if exist %Windir%\system32\wuweb.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\wuweb.dll
- if exist %windir%\system32\iuengine.dll %windir%\system32\regsvr32.exe /s iuengine.dll
- if exist %windir%\system32\wuauserv.dll %windir%\system32\regsvr32.exe /s wuauserv.dll
- if exist %windir%\system32\cdm.dll %windir%\system32\regsvr32.exe /s cdm.dll
- if exist %windir%\system32\msxml2r.dll %windir%\system32\regsvr32.exe /s msxml2r.dll
- if exist %windir%\system32\msxml3r.dll %windir%\system32\regsvr32.exe /s msxml3r.dll
- if exist %windir%\system32\msxml.dll %windir%\system32\regsvr32.exe /s msxml.dll
- if exist %windir%\system32\msxml3.dll %windir%\system32\regsvr32.exe /s msxml3.dll
- if exist %windir%\system32\msxmlr.dll %windir%\system32\regsvr32.exe /s msxmlr.dll
- if exist %windir%\system32\msxml2.dll %windir%\system32\regsvr32.exe /s msxml2.dll
- if exist %windir%\system32\qmgr.dll %windir%\system32\regsvr32.exe /s qmgr.dll
- if exist %windir%\system32\qmgrprxy.dll %windir%\system32\regsvr32.exe /s qmgrprxy.dll
- if exist %windir%\system32\iuctl.dll %windir%\system32\regsvr32.exe /s iuctl.dll
- del C:\Windows\WindowsUpdate.log /S /Q
- rd /s /q %windir%\softwareDistribution
- ping 127.0.0.1 -n 2 -w 1000 > nul
- ping 127.0.0.1 -n %1% -w 1000> nul
- %Windir%\system32\net.exe start bits
- %Windir%\system32\net.exe start wuauserv
- sc sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
- sc sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
- wuauclt.exe /resetauthorization
- wuauclt.exe /detectnow
- wuauclt.exe /reportnow
- exit /B 0
|
---------------
RVLP ~ Mes Mod console ~ NewGame+ (Podcast) ~ Mes tests handhelds (YT)