Jump to content

Recommended Posts

Guest Iman_Y
Posted

Hi,I'm trying to modify Local Group Policy on my windows machine using PowerShell commands but not able to do so in both windows 10 and windows server 2022.As an example, I set the automatic update as below in gpedit: Running PowerShell as Administrator, I am able to view the changes made in gpedit being reflected in local registry:PS C:\Windows\system32> $registryPath = "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU"PS C:\Windows\system32> Get-ItemProperty -Path $registryPath -Name "AUOptions" , "ScheduledInstallDay", "ScheduledInstallTime" AUOptions : 3 Schedu

 

More...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...