General discussion

Locked

Automated reboot and login as admin

By Cr@zy@ssM@g!c!@n ·
Hello,

I have a package to install on a Windows XP pro system which I am trying to automate for non admin privleged users. After the product installs, a reboot is required and an administrator must logon for the install to complete itself.

Can I automate the process of having the machine reboot, logon as a local admin and then logoff while keeping the user "out" while this occurs? After this process completes the user can log back on as themselves and continue to work.

Thanks for thehelp...

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Automated reboot and login as admin

by mfischer In reply to Automated reboot and logi ...

Try this...

Log on as the end user.

Browse to the "setup" exe and right click.

Select "run as" and then you can select administrator and enter your password. You may need to select "Always run as..."

It should automatically resume afterthe reboot.

Collapse -

Automated reboot and login as admin

by Cr@zy@ssM@g!c!@n In reply to Automated reboot and logi ...

Poster rated this answer

Collapse -

Automated reboot and login as admin

by TimTheToolMan In reply to Automated reboot and logi ...

Hi,

The above answer may not always work for you because organisations that are serious about limiting Administrator access on PCs will have disabled the "Run As" service. Its a security hole.

In a nutshell, I think you're approaching this from the wrong end. If your installation requires Admin access for installation, then it requires Admin access and that is all there is to it.

This is the same for many packages and the problem falls back to the IT support department to install on locked down PCs using a tool like Microsoft's SMS or manually if there aren't too many PCs.

Also, WindowsXP has been designed to allow installation of almost ALL software without the need for a reboot. Unless you're doing something very, very tricky, I'd say your software should fall into this category. Try to stick to it....

Cheers,
Tim.

Collapse -

Automated reboot and login as admin

by Cr@zy@ssM@g!c!@n In reply to Automated reboot and logi ...

Poster rated this answer

Collapse -

Automated reboot and login as admin

by Cr@zy@ssM@g!c!@n In reply to Automated reboot and logi ...

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums