Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Distribute REG_BINARY registry settings using group policy ADM template

Posted on 2012-03-16
4
Medium Priority
?
4,221 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 2000 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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

772 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