Solved

Distribute REG_BINARY registry settings using group policy ADM template

Posted on 2012-03-16
4
3,800 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replication dns zone issue 2 26
Creating a Vendor Admin user 23 54
add group policy for windows 10 users 3 32
Server timing 4 20
An article on effective troubleshooting
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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 …

778 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