Jump to content

Recommended Posts

Posted

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)

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
Posted

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?

Posted

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.

Posted

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

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...