O/S Deployment Thread, Execute elevated program on first login in Technical; Hi Guys
A colleague of mine has created us a little program that can change a computers name after the ...
1st August 2013, 02:51 PM #1
Execute elevated program on first login
A colleague of mine has created us a little program that can change a computers name after the process of WDS has finished, we have our images auto login to a network account so we can change their name and then move them into their right OU's etc in AD.
I wanted to make it easier for us than clicking about to rename the computers and as such our coder made us a little program. What id like to do is have this program run on the first login, it needs to be run elevated and im stuck on how to do it either from the answer file or having the shortcut on the desktop.
I have tried placing it into the user profile desktop folder so that itll be on the desktop on first login so its a simple right click and run as admin but the profile is named something else upon login.
Can anyone suggest a way to do this via the answer file? i considered having a mapped drive done during logon then executing the program but i dont think it is possible to execute a program with elevated priviliges unless doing the right click run as admin etc.
Thanks in advance
2nd August 2013, 03:39 PM #2
Nvm, solved it myself.
Mods, please close this thread
2nd August 2013, 04:15 PM #3
How did you do it? Solution might be handy for others in the same situation.
5th August 2013, 01:00 PM #4
In the end i just kept it simple, i have created a new user "W7NC" (Windows 7 Name Changer) and put the .exe in the desktop folder of that users profile, finally i set the user to auto login from the answer file so all we need to do is double click the program, input a machine name, bish bash bosh =-)
Originally Posted by TechSupp
By linkazoid in forum Internet Related/Filtering/Firewall
Last Post: 5th July 2009, 07:51 PM
By Rozzer in forum Windows
Last Post: 8th September 2008, 12:25 PM
By dgsmith in forum MIS Systems
Last Post: 23rd June 2008, 09:12 AM
By CESIL in forum Network and Classroom Management
Last Post: 29th February 2008, 12:50 PM
By Pumaedition in forum Windows
Last Post: 6th December 2007, 12:40 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)