none
GPO for adding reg key on win 10 systems

    Question

  • Hi,

    I'm trying to create a GPO that will allow me to add a folder & reg key inside that only restricted for Win 10 using GPO. I used the command on command prompt and it works as expected but I want it to be achieved using GPO how can I do it?

    here is command that I used.

    reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade /f /v AllowKMSUpgrade /t REG_DWORD /d 1

    Below is the image of what i'm trying but it's now working. I've also applied WMI for Win 10 filtering.

    Friday, April 22, 2016 1:52 PM

Answers

  • thanks Joseph,

    I did the same and applied WMI filter to win 10. now all is working as expected. the WMI query that I used for Win 10 was

    select * from Win32_OperatingSystem where Version like "10%"

    • Marked as answer by Love_Scripting Thursday, April 28, 2016 12:32 PM
    Thursday, April 28, 2016 12:32 PM

All replies

  • Move the registry key from User Configuration to Computer Configuration.

    If my answer helped you, check out my blog: Deploy Happiness

    Friday, April 22, 2016 2:16 PM
  • thanks Joseph,

    I did the same and applied WMI filter to win 10. now all is working as expected. the WMI query that I used for Win 10 was

    select * from Win32_OperatingSystem where Version like "10%"

    • Marked as answer by Love_Scripting Thursday, April 28, 2016 12:32 PM
    Thursday, April 28, 2016 12:32 PM