Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executable script for Registry modify for LogonPrompt possible?

Status
Not open for further replies.

xAOx

IS-IT--Management
Aug 15, 2006
40
US
Hi all, I wasn't sure which thread to post this in but I assume programmers would have a better idea of what I'm looking for. Is it possible (is it downloadable lol), to get a script that will automatically modify the registry key like this:
In -
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\ CurrentVersion\Winlogon
then -
Modify/Create the Value Name [LogonPrompt] according to the Value Data listed below.
Data Type: REG_SZ [String Value] // Value Name: LogonPrompt
Value Data: [Text will be entered here]
Exit Registry and Reboot

I basically need this so that each new PC that comes in, can automatically be adjusted to have a message telling employees to call a certain # for help.
 
Why not simply use a .REG file ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Right, but how?
And while you're here is it possible to map a drive automatically with a batch file?

The reason I ask these questions is because we got 20 new computers in, and I have to manually install software to them and I'd save a lot of time if I can avoid browsing the registry in each one and mapping drives one by one.
 
is it possible to map a drive automatically with a batch file?
In a console window, type:
net use /?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
There are many ways to accomplish your goal. GPO is the easiest. It will push down to all machines put on the network. You can use script too, but there is no real reason to.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Can you push down registry modifications? I know you can do scripts.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top