Jump to content

Powershell script to set only a specific setting in Local Group Policy to 'Not Configured'


Recommended Posts

Guest Chinthy
Posted

Powershell newbie here. I'm trying to automate a scenario where any particular setting in Local Group Policy can be set to 'Not Configured'. For example, I'm trying to set below setting to 'Not Configured'. Now by default this is already set to Not Configured so I would manually enable it first and try to run the Powershell script to reset it back to Not Configured.E.g: Path: Administrative Templates > Windows Components > Windows UpdatesSetting name: Specify intranet Micrsoft update service locationBelow is the script I'm currently testing but it doesn't quite reset it, the setting seem

 

Continue reading...

  • 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...