Add path via Group Policy

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I need to add an extra path to the path on all my domain computers.

The computers allready have a path:
"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem"
(Found in registry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment] )

I need to add an extra path (c:\pctools) to that.

I tried with a .reg file, but I can't get it to add to what is allready in
the key - it replaces the old value with the new, but I need it to add the
new to the old

..reg file that sets the path to c:\pctools:
"REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment]
"Path"= hex(2):63,3a,5c,70,63,74,6f,6f,6c,73"

Is there an easier way of doing this by GP, or how can I get it to add my
path instead of replacing it via the .reg file ?
 
Hi Mark

My german is not so good, but dosen't:
"Achtung! Vorhandene Pfade werden durch diese Angabe komplett ersetzt"
mean, that my existing path will be replaced ?

Also I get an error when trying to import the text to a GP via an .inf file.

Regards

Jan

Mark Heitbrink said:
Hi,
I need to add an extra path to the path on all my domain computers.
[...]

http://www.gruppenrichtlinien.de/adm/Beispiele.htm
6. Path – Erweiterung der vorhandenen Pfadangabe, computerspezifisch

Replace the Text to your Language ;-)

Mark
--
Mark Heitbrink - MVP Windows Server - Group Policy

Homepage: www.gruppenrichtlinien.de - deutsch
Blog: gpupdate.spaces.live.com - english
 
Hi,
My german is not so good, but dosen't:
"Achtung! Vorhandene Pfade werden durch diese Angabe komplett ersetzt"
mean, that my existing path will be replaced ?

Absulotly, yes.
Also I get an error when trying to import the text to a GP via an .inf file.

It´s an ADM you can import on "Admininstrative Templates"

Mark
 
Back
Top