Solved

Distribute REG_BINARY registry settings using group policy ADM template

Posted on 2012-03-16
4
3,724 Views
Last Modified: 2012-06-21
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?
0
Comment
Question by:FWeston
  • 2
  • 2
4 Comments
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 500 total points
ID: 37730649
0
 
LVL 3

Author Comment

by:FWeston
ID: 37730705
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:

ss
This is the setting I specified in the GP:

ss
And this is what gets applied on the target system I am testing against:

ss
So, for some reason the value I am providing isn't what's getting inserted into the target user's registry.
0
 
LVL 3

Author Comment

by:FWeston
ID: 37730716
Nevermind, I removed the commas from the value I specified and it works now!
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 37730724
Glad to help...your screen shots will help future users as well
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Removing Group Policy from user machines 3 29
Office 365 & Microsoft Azure 8 47
active directory 6 74
Script  to move when join computer to domain 3 14
Resolve DNS query failed errors for Exchange
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now