Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Distribute REG_BINARY registry settings using group policy ADM template

Posted on 2012-03-16
4
Medium Priority
?
4,123 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Here's a look at newsworthy articles and community happenings during the last month.
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.
Suggested Courses

704 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