Sign in to follow this  
Followers 0
lolp1

#RequireAdmin and windows XP

6 posts in this topic

Hello,

I don't have WindowsXP to test it on, but what happens if you run #RequireAdmin on windowsXP and they are not admin, and what happens if they are if anything.(Curios since the command was designed for windows vista but the change log says it can be used for XP to)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

If the user is a limited access user, the RunAs dialog will appear:

Posted Image

If the user has local administrative privileges, the script will run without blinking.

I run day to day as a limited user in XP, and it's a pain in the ass when installers aren't smart enough to detect that they aren't properly privileged. Some do, most don't.

Edited by TurionAltec

Share this post


Link to post
Share on other sites

If the user is a limited access user, the RunAs dialog will appear:

Posted Image

If the user has local administrative privileges, the script will run without blinking.

I run day to day as a limited user in XP, and it's a pain in the ass when installers aren't smart enough to detect that they aren't properly privileged. Some do, most don't.

If you are privileged on XP, does it just run with out any pop ups or anything unlike vista where you get a pop asking if your sure you want to run as a admin?

Share this post


Link to post
Share on other sites

If you are privileged on XP, does it just run with out any pop ups or anything unlike vista where you get a pop asking if your sure you want to run as a admin?

If the user is admin in XP, it will run without any popups.

Share this post


Link to post
Share on other sites

If you are privileged on XP, does it just run with out any pop ups or anything unlike vista where you get a pop asking if your sure you want to run as a admin?

If you turn off UAC that wont even happen on Vista. :D

Share this post


Link to post
Share on other sites

If you turn off UAC that wont even happen on Vista. :D

You will also defeat the security benefits of UAC, meanwhile Linux people will keep going ad naseum "Windows is insecure because everything runs as admin. Windows should have sudo" even though it does in the form of UAC.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0