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
Solved

How to create a network script to input an registry key

Posted on 2008-10-28
3
785 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
32bit v 64bit processes and impact on memory 7 71
save browser passwords 11 72
Problem to file 4 28
How to remove unwanted words? 34 49
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

828 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