ankap Posted November 25, 2004 Posted November 25, 2004 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
MCT Posted November 25, 2004 Posted November 25, 2004 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 privledgesalso, if the admin account doesnt have a pass, u cant use the program, can u fix this ?
ankap Posted November 25, 2004 Author Posted November 25, 2004 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
MCT Posted November 25, 2004 Posted November 25, 2004 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
ankap Posted December 18, 2004 Author Posted December 18, 2004 I have removed blank password and enhanced code.Will be glad for any feedbackRunAsUI.zip
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now