Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Pb to add a gpo in HKLM\Software\Microsoft\Windows\CurrentVersion\Run

$
0
0

Hello,

I want to create a policy on Windows 2003 in order to change parameters in the key HKLM\Software\Microsoft\Windows\CurrentVersion\Run\egui

I have created this adm file :

==============================================================

CLASS MACHINE
   CATEGORY "NOD32"

      POLICY "RunKey"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Run"

         PART "NOD32 GUI" DROPDOWNLIST
            REQUIRED
            NOSORT  
            VALUENAME "egui"
            ITEMLIST
               NAME "NOD32 with gui"
                  VALUE "C:\Program Files\\ESET\ESET Endpoint Antivirus\egui.exe /hide /waitservice"
               NAME "NOD32 without gui"
                  VALUE "C:\Program Files\\ESET\ESET Endpoint Antivirus\egui.exe /hide /waitservice /terminal"
            END ITEMLIST

         END PART

      END POLICY

   END CATEGORY;

========================================================

When I add it with the Group Policy editor on my domain controller, I have only the name of the category "NOD32" displayed, and nothing on the right pane.

If I replace the line  KEYNAME "Software\Microsoft\Windows\CurrentVersion\Run" by  KEYNAME "Software\Microsoft\Windows\CurrentVersion\Policies\test", I have the information wanted displayed on the right panel ... but it's not for the good hive !

Thanks for your help


Viewing all articles
Browse latest Browse all 19997

Trending Articles