Link to home
Start Free TrialLog in
Avatar of FWeston
FWeston

asked on

Distribute REG_BINARY registry settings using group policy ADM template

My company uses printers that need authentication info (department codes) entered into the drivers in order for users to print.  That info gets stored in the local registry under HKCU.

Rather than have to manually set this on every computer, I want to come up with some method to automate it based on the user's department (each dept has a different code).  I tried to use a group policy ADM template but they don't seem to support REG_BINARY settings, which is the type of key that the password needs to be.

I know I could use a login script, but the issue there is that our remote users wouldn't run it since they don't connect to our network until after they've already logged in and established a VPN connection.  Their PCs would periodically poll for GP updates so the remote users do get group policies, but they don't run login scripts.

Any suggestions on how I can get reg_binary (hex) data to PCs using a group policy?
ASKER CERTIFIED SOLUTION
Avatar of Don
Don
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of FWeston
FWeston

ASKER

Thanks, that seems perfect.  I tried that and it did indeed allow me to add a REG_BINARY value, however the problem is that the value it added isn't the value I specified.

This the value that I have in the registry on my PC which works:

User generated image
This is the setting I specified in the GP:

User generated image
And this is what gets applied on the target system I am testing against:

User generated image
So, for some reason the value I am providing isn't what's getting inserted into the target user's registry.
Avatar of FWeston

ASKER

Nevermind, I removed the commas from the value I specified and it works now!
Glad to help...your screen shots will help future users as well