Programmatic, script-based, or command line method to change starting program for user on Windows Server 2000/2003?
Posted
by
Joe Majsterski
on Server Fault
See other posts from Server Fault
or by Joe Majsterski
Published on 2012-03-19T21:14:44Z
Indexed on
2012/03/19
23:32 UTC
Read the original article
Hit count: 162
I have written an app that we want to distribute to a large number of customers to be used as the shell program when they log onto their server with a particular admin account.
I have figured out how to change the starting program by going to Administrative Tools->Computer Management->System Tools->Local Users
and Groups->Users
, selecting the properties for the user, going to the Environment tab, and changing the program file name under "Starting program" to my new app.
But is there a way I could do this with some code that could be sent out and run on all these servers?
© Server Fault or respective owner