?
Solved

Registry change using Login Script

Posted on 2011-09-07
3
Medium Priority
?
238 Views
Last Modified: 2012-05-12
Hi,

We are using Windows Server 2003 domain controllers and our client machines are running on Windows xp. I need to make one registy key value from 1 to 0 by using Login Script.

The registy key is as given below:

"Hkey_Local_Machine\System\CurrentConrolSet\Control\Filesystem\NtfsDisable8dot3NameCreation"

By default this value is 1 but I need to change this one to 0.

Please provide me the Login Script for me sothat I can put this in System Startup Scipts using Gpo.

Thanks in Advance.
0
Comment
Question by:gaddam01
[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
3 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 2000 total points
ID: 36497441
You can create a custom ADM or a script to add the .reg file.  I don't have time to test right now but maybe someone else does.  I don't want to post a script without testing.

The AD team has a good blog entry on the subject   http://blogs.technet.com/b/askds/archive/2007/08/14/deploying-custom-registry-changes-through-group-policy.aspx

Notice they also show how to do it using group policy preferences.  If you have one Windows 7 or 2008 box on the domain you can use that method.

Thanks

Mike
0
 

Author Comment

by:gaddam01
ID: 36497519
I don't want to use any Group Policy Preference for this.

Please provide me a Login Script for this.
0
 
LVL 26

Expert Comment

by:Leon Fester
ID: 36502603
Create that entry on a Windows machine.
Export the key to a file e.g. reg_update.reg
copy file to \\domain\netlogon
update your logon script with
regedit.exe /s \\domain\netlogon\reg_update.reg

More info:
http://support.microsoft.com/kb/310516
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Here's a look at newsworthy articles and community happenings during the last month.
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
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 video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

762 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