Jump to content

Recommended Posts

Posted

Hi Guys

 

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

Posted
How did you do it? Solution might be handy for others in the same situation.

 

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 =-)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...