Discussion Forums/PDQ Deploy/Deploy - Questions

Answered

How can I deploy registry keys?

Fillip Van Bedts
asked this on September 14, 2010 02:59

Now I'm trying to deploy a *.bat file  with the value:

regedit.exe /s \\server\regfile.reg

This doesn't work.

I know that the bat-file works, because I tried it manually.

What am I doing wrong?

 

Fillip

 

Comments

User photo
Adam Ruth
Admin Arsenal

My first guess would be a permissions issue getting to the server where the reg file is. If you're using you current authentication, you won't be able to access a network share from the installer. Change the authentication to specify the account name and password (even if the same as current) and then the installer service will be able to access the share.

September 14, 2010 03:02
User photo
Fillip Van Bedts

I'm using the domain admin account and PDQD can access the bat file.(all other commands are executed)
It's just the "regedit.exe line" that doesn't work...

September 14, 2010 03:25
User photo
Fillip Van Bedts

Solution: Change the administrator!

I was executing the bat-file with the Domain-admin account. registry Hive I wanted to deploy was [HKCU]...

Changed it to [HKLM] and it works!

My mistake...

September 14, 2010 04:15
User photo
Adam Ruth
Admin Arsenal

Excellent, I'm glad you got it working.

September 14, 2010 04:58