Home > Ask the Windows Experts > From the Archives: Group Policy Questions & Answers > How I can modify the Registry Key in Windows XP using Group Policy management?
Ask The Win IT Expert: Questions & Answers
EMAIL THIS

How I can modify the Registry Key in Windows XP using Group Policy management?

Jeremy Moskowitz EXPERT RESPONSE FROM: Jeremy Moskowitz

Pose a Question
Other Win IT Categories
Meet all Win IT Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 25 September 2006
How I can modify the Registry Key in Windows XP using Group Policy management? I have Windows Server 2003 and 20 XP SP2 users. I created an OU named "Test" and I linked it with a Group Policy, then edited the policy.

I want to change HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\winlogon and change the value of DefaultUserName. How I can do it?


>
EXPERT RESPONSE

Because this is not a policy setting in Group Policy management but a regular registry key, you would need to create a custom ADM file which will then allow you to change this key. Be warned, however, that this will only allow you to set this as a "preference" rather than a true policy. We have a lot of information about this phenomenon at GPanswers.com. Just note the setting can be overwritten by other processes, such as in the case you mention where this key is in fact written over at logon to hold the name of the last user who logged in.

If you are trying, specifically, to get the machine to log on automatically with a particular user account you would be better off using a third-party tool such as TweakUI.

If you are simply trying to hide the name of the last user who logged in you can use the policy setting at:

Computer ConfigurationWindows SettingsLocal PoliciesSecurity Options Interactive logon: Do not display last user name


Sound Off! -   Be the first to post a message to Sound Off!


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Microsoft Management Console  (SearchWinIT.com)
snap-in  (SearchWinIT.com)
virtual desktop manager  (SearchWinIT.com)
Zero Administration  (SearchWinIT.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersIT DownloadsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts