Solved

How to create a network script to input an registry key

Posted on 2008-10-28
3
767 Views
Last Modified: 2012-05-05
Hi,

I need to be able to disable/ remove "Change Password" when you press Ctrl , Alt + Delete using a startup script.

I know how to disable the " Change password" but I dont know how to create a script to do this at bootup.
Can you help.

Using registry should disable it permanently:
How to Disable the Change Password Button for One or More Specific Users

The following procedure must be done on the user's computer:

1. At a command prompt, type regedit, and then press ENTER.
2. View the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
3. Click the System key if it exists. If the key does not exist, click New on the Edit menu, and then click Key to create a new folder value called New Key #1. Rename the New Key #1 value to System.
4. Click the System key. On the Edit menu, point to New, and then click DWORD Value. Rename the New Value #1 entry to DisableChangePassword, press ENTER, and then press ENTER again.
5. Change the value from 0 to 1.
6. Quit Registry Editor. Press CTRL+ALT+DELETE to see that the Change Password button is now unavailable.

Can this be done by a script ? If it can can you please put the details of the script up.

Cheers
0
Comment
Question by:deal2aces
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
JohnGerhardt earned 40 total points
ID: 22822235
Rather that using the registry how about using a GPO..If you arent on a domain then you should be able to add this to the local policy..
Have a look @
http://support.microsoft.com/kb/324744
0
 
LVL 2

Expert Comment

by:Eonasdan
ID: 22847230
Make your changes to the registry and export the key. Save the reg file to somewhere that all users have access to (i.e. C:). Create a batch file and place it under the All Users startup folder. Change registry.reg to whatever you name your exported key. This will cause the exported registry file to be imported at every login and it will not prompted for the user to add it or not.
@echo off

"regedit.exe /s registry.reg"

Open in new window

0
 
LVL 2

Expert Comment

by:Eonasdan
ID: 22883098
any input on this? Please reward your points if we have answered your question
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now