Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3021 connectés 

  FORUM HardWare.fr
  Systèmes & Réseaux Pro
  Poste de travail

  WIN10 - Impossible de réactiver un service

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

WIN10 - Impossible de réactiver un service

n°159050
clads92
What is a man ?
Posté le 05-12-2018 à 11:43:57  profilanswer
 

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 ?
https://i.imgur.com/Uj8vGPb.png
 
J'ai déjà testé ce script sans succès

Code :
  1. %Windir%\system32\net.exe stop bits
  2. %Windir%\system32\net.exe stop wuauserv
  3. reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f
  4. reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f
  5. reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f
  6. reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientValidation /f
  7. reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v LastWaitTimeout /f
  8. reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v DetectionStartTime /f
  9. reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /f
  10. if exist %Windir%\system32\atl.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\atl.dll 
  11. if exist %Windir%\system32\jscript.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\jscript.dll
  12. if exist %Windir%\system32\softpub.dll  %Windir%\system32\regsvr32.exe /s %Windir%\system32\softpub.dll 
  13. if exist %Windir%\system32\wuapi.dll %Windir%\system32\regsvr32.exe /s %Windir%\system32\wuapi.dll
  14. if exist %Windir%\system32\wuaueng.dll  %Windir%\system32\regsvr32.exe /s %Windir%\system32\wuaueng.dll 
  15. if exist %Windir%\system32\wuaueng1.dll  %Windir%\system32\regsvr32.exe /s %Windir%\system32\wuaueng1.dll 
  16. if exist %Windir%\system32\wucltui.dll  %Windir%\system32\regsvr32.exe /s %Windir%\system32\wucltui.dll 
  17. if exist %Windir%\system32\wups.dll  %Windir%\system32\regsvr32.exe /s %Windir%\system32\wups.dll 
  18. if exist %Windir%\system32\wups2.dll  %Windir%\system32\regsvr32.exe /s %Windir%\system32\wups2.dll 
  19. if exist %Windir%\system32\wuweb.dll  %Windir%\system32\regsvr32.exe /s %Windir%\system32\wuweb.dll 
  20. if exist %windir%\system32\iuengine.dll %windir%\system32\regsvr32.exe /s iuengine.dll
  21. if exist %windir%\system32\wuauserv.dll %windir%\system32\regsvr32.exe /s wuauserv.dll
  22. if exist %windir%\system32\cdm.dll %windir%\system32\regsvr32.exe /s cdm.dll
  23. if exist %windir%\system32\msxml2r.dll %windir%\system32\regsvr32.exe /s msxml2r.dll
  24. if exist %windir%\system32\msxml3r.dll %windir%\system32\regsvr32.exe /s msxml3r.dll
  25. if exist %windir%\system32\msxml.dll  %windir%\system32\regsvr32.exe /s msxml.dll
  26. if exist %windir%\system32\msxml3.dll %windir%\system32\regsvr32.exe /s msxml3.dll
  27. if exist %windir%\system32\msxmlr.dll %windir%\system32\regsvr32.exe /s msxmlr.dll
  28. if exist %windir%\system32\msxml2.dll %windir%\system32\regsvr32.exe /s msxml2.dll
  29. if exist %windir%\system32\qmgr.dll %windir%\system32\regsvr32.exe /s qmgr.dll
  30. if exist %windir%\system32\qmgrprxy.dll %windir%\system32\regsvr32.exe /s qmgrprxy.dll
  31. if exist %windir%\system32\iuctl.dll %windir%\system32\regsvr32.exe /s iuctl.dll
  32. del C:\Windows\WindowsUpdate.log /S /Q
  33. rd /s /q %windir%\softwareDistribution
  34. ping 127.0.0.1 -n 2 -w 1000 > nul
  35. ping 127.0.0.1 -n %1% -w 1000> nul
  36. %Windir%\system32\net.exe start bits
  37. %Windir%\system32\net.exe start wuauserv
  38. sc sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
  39. sc sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
  40. wuauclt.exe /resetauthorization
  41. wuauclt.exe /detectnow
  42. wuauclt.exe /reportnow
  43. exit /B 0


---------------
RVLP  ~ Mes Mod console ~ NewGame+ (Podcast)
mood
Publicité
Posté le 05-12-2018 à 11:43:57  profilanswer
 

n°159053
nebulios
Posté le 05-12-2018 à 13:05:52  profilanswer
 

1) Tu formates
2) Tu réinstalles
3) Tu lui enlèves les droits d'admin, tu colles un mdp sur le BIOS/UEFI, tu actives le Secure Boot et tu chiffres le disque avec BitLocker pour qu'il ne puisse plus jamais y toucher

n°159059
frede94
PCF et LFI = EG
Posté le 05-12-2018 à 19:09:52  profilanswer
 

clads92 a écrit :

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.


 
C'est pas par là  ?
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services
 
 


---------------
Non au vivre ensemble ----- Communistes = fascistes rouges ----- Non au pacte sur les migrations de l'Onu
n°159061
antoincy
Posté le 05-12-2018 à 22:47:20  profilanswer
 

formate et gère correctement les droits alloués à tes users.


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Systèmes & Réseaux Pro
  Poste de travail

  WIN10 - Impossible de réactiver un service

 

Sujets relatifs
GPO Autoriser Fonts Win7/Win10Reporting Service et TimeOut
Précharger un mot de passe pour un servicereception mail impossible avec cache exchange 2016
Dell SupportAssist et Netlogon Service.
Lancement de Business Object impossible sur certains postesCisco 5505 Impossible de se connecter à ASDM
Pister site internet sur poste libre service internetProblème AD très étrange avec OU Builtin
Plus de sujets relatifs à : WIN10 - Impossible de réactiver un service


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR