Jump to content

RunAs with UI


Recommended Posts

Posted

I've made utility such RunAs in Windows XP but with UI.

It's asking for username and password and for the program to open with those credentials or you can customize it with switches.

You can make folders private with it and put password.

Usage:

RunAsUI.exe

(asks for program to run and then for username and password of an account to run with)

RunAsUI.exe program

(asks for username and password then runs specified program with that account)

RunAsUI.exe program -a

(runs program as Administrator and asks only for its password)

RunAsUI.exe program -u:username

(runs program as User specified and asks for only for its password)

Examples:

RunAsUI.exe explorer.exe -a

(runs Windows Explorer as Administrator asking for password)

RunAsUI.exe "explorer.exe c:\protected" -u:God

(Opens folder c:\protected as User God asking for password)

This is very useful when you want to put password on a folder. Simply give access (in security tab) only to specified user and no one will have access to it with other user.

Note: if explorer command dont work you can put IExplore.exe (Internet Explorer) in the System32 folder and the result is the same.

If you find it useful and have questions or sugestiosn feel free to ask me.

RunAsUI.zip


Posted

i made a right click entry 4 it if u would like 2 use it :)

RunAsUI.inf

[Version]
signature = $CHICAGO$

[DefaultInstall]
AddReg = runasui

[runasui]
HKCR,"*\shell\Run as Admin\Command",,,"runasui.exe ""%1"" -a"

Put runasui.exe in C:\Windows\System32 :)

u can right click any file & have it run with admin privledges

also, if the admin account doesnt have a pass, u cant use the program, can u fix this ? :)

Posted

I haven't tried with blank password but if the Administartors password is blank anyone can log in with Administrator account and do whatever he wants so whats the use of this?

Anyways I'll fix it :)

Posted

yes, but sometimes, ill tell my dad or someone if they want 2 use my computer go on as "n00b" (the limited user account i have setup) so they dont need admin privledges for most things :P

  • 4 weeks later...

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...