Forum Discussion

jorgeglez's avatar
jorgeglez
Copper Contributor
Oct 01, 2020
Solved

configure a local policy with powershell

Hello, good morning community,

Is there a way to own 10?

I want to automate the process of setting the policy "Computer Configuration / Administrative Templates / Control Panel / Configuration Page Visibility / - enable-

I hope you can help me,

thanks

  • jorgeglez 

     

    This is an example of SettingsPageVisibility script with Powershell. 

     

    #Registry settings - HKLM
    # Enable SettingsPageVisibility
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v SettingsPageVisibility /t REG_SZ /d "showonly:dateandtime;printers;regionlanguage;yourinfo;WindowsUpdate" /f

2 Replies

  • jorgeglez 

     

    This is an example of SettingsPageVisibility script with Powershell. 

     

    #Registry settings - HKLM
    # Enable SettingsPageVisibility
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v SettingsPageVisibility /t REG_SZ /d "showonly:dateandtime;printers;regionlanguage;yourinfo;WindowsUpdate" /f

Resources