Programmatic, script-based, or command line method to change starting program for user on Windows Server 2000/2003?
- by Joe Majsterski
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?