VoipDiscount

vše o VoipBuster like telefonii
Právě je pon pro 15, 2025 12:39 pm

Všechny časy jsou v UTC + 1 hodina [ Letní čas ]




Odeslat nové téma Odpovědět na téma  [ Příspěvek: 1 ] 
Autor Zpráva
PříspěvekNapsal: pát říj 17, 2025 12:44 pm 
Offline
Site Admin
Uživatelský avatar

Registrován: stř čer 07, 2006 9:20 pm
Příspěvky: 373
https://superuser.com/questions/1843499 ... cal-policy
Toto nevím jestli fungovalo:
Given that gpedit.msc and RDP were mentioned, I'll assume you're referring to locally set group policies for Windows Update settings, not domain policies setting them.

To reset all user and computer local group policies including those related to Windows Update, you can delete two specific folders and a registry key using an elevated PowerShell session, as you are already familiar with.

PowerShell
Stop-Service wuauserv -Force;
Remove-Item "C:\Windows\System32\GroupPolicyUsers" -Recurse -Force ;
Remove-Item "C:\Windows\System32\GroupPolicy" -Recurse -Force;
Remove-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Recurse -Force;
Start-Service wuauserv;

Ale po tomto se aktualizace rozjely:
Actually I dig into LGPO.exe once more and found it pretty simple at the end. RTFM was key.. reading the documentation really helps..

What I did for my specific case:

Created a file "clear.txt" with the following content:

; ----------------------------------------------------------------------
; PARSING Computer POLICY
; Source file: .\Registry.pol

Computer
Software\Policies\Microsoft\Windows\WindowsUpdate\AU
*
CLEAR

; PARSING COMPLETED.
; ----------------------------------------------------------------------
Executed the following command:

.\LGPO.exe /t .\clear.txt

The result is that the registry entry above is deleted, but in addition the respective local policy entry is deleted as well.


Přílohy:
clear.txt [305 bajtů]
10 krát
LGPO.zip [519.17 KiB]
8 krát
Nahoru
 Profil  
 
Zobrazit příspěvky za předchozí:  Seřadit podle  
Odeslat nové téma Odpovědět na téma  [ Příspěvek: 1 ] 

Všechny časy jsou v UTC + 1 hodina [ Letní čas ]


Kdo je online

Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 1 návštěvník


Nemůžete zakládat nová témata v tomto fóru
Nemůžete odpovídat v tomto fóru
Nemůžete upravovat své příspěvky v tomto fóru
Nemůžete mazat své příspěvky v tomto fóru
Nemůžete přikládat soubory v tomto fóru

Hledat:
Přejít na:  
cron
Založeno na phpBB® Forum Software © phpBB Group
Český překlad – phpBB.cz