-
May 17th, 2006, 02:49 AM
#1
Junior Member
Administrator Log In Prompt from limited
I am trying to set up a limit XP user to get a Administrator log in prompt when installing software. It seems like an easy thing but my searches have not found an answer.
-
May 17th, 2006, 03:32 AM
#2
I am not totally sure I understand the question, but have you tried the "runas" command yet?
RUNAS USAGE:
RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
/user:<UserName> program
RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
/smartcard [/user:<UserName>] program
/noprofile specifies that the user's profile should not be loaded.
This causes the application to load more quickly, but
can cause some applications to malfunction.
/profile specifies that the user's profile should be loaded.
This is the default.
/env to use current environment instead of user's.
/netonly use if the credentials specified are for remote
access only.
/savecred to use credentials previously saved by the user.
This option is not available on Windows XP Home Edition
and will be ignored.
/smartcard use if the credentials are to be supplied from a
smartcard.
/user <UserName> should be in form USER@DOMAIN or DOMAIN\USER
program command line for EXE. See below for examples
Examples:
> runas /noprofile /user:mymachine\administrator cmd
> runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
> runas /env /user:[email protected] "notepad \"my file.txt\""
NOTE: Enter user's password only when prompted.
NOTE: USER@DOMAIN is not compatible with /netonly.
NOTE: /profile is not compatible with /netonly.
-Deeboe
If you know the enemy and know yourself, you need not fear the result of a hundred battles. If you know yourself but not the enemy, for every victory gained you will also suffer a defeat. If you know neither the enemy nor yourself, you will succumb in every battle.
- Sun Tzu, The Art of War
http://tazforum.**********.com/
-
May 17th, 2006, 03:45 AM
#3
I think Deeboe has it right, but he has posted the CMD usage info for RUNAS. You can also <SHIFT> + <RIGHT CLICK> the Icon/Application Installer and choose Run As... and choose what user to launch the application as. This works for applications, executables, whatever...handy way to limit access to your everyday account but quickly access things with privileges when needed.
"Data is not necessarily information. Information does not necessarily lead to knowledge. And knowledge is not always sufficient to discover truth and breed wisdom." --Spaf
Anyone who is capable of getting themselves made president should on no account be allowed to do the job. --Douglas Adams (1952-2001)
"...people find it far easier to forgive others for being wrong than being right." - Albus Percival Wulfric Brian Dumbledore
-
May 17th, 2006, 03:56 AM
#4
Originally posted here by zencoder
I think Deeboe has it right, but he has posted the CMD usage info for RUNAS.
Right on, I guess I should have referenced both.
Thanks!
-Deeboe
If you know the enemy and know yourself, you need not fear the result of a hundred battles. If you know yourself but not the enemy, for every victory gained you will also suffer a defeat. If you know neither the enemy nor yourself, you will succumb in every battle.
- Sun Tzu, The Art of War
http://tazforum.**********.com/
-
May 17th, 2006, 03:59 AM
#5
Junior Member
Thanks, that is what I was looking for. I have also seen it where you just click on the file and it will automatically ask you.
-
May 17th, 2006, 04:46 AM
#6
Originally posted here by arnoldpoindextr
Thanks, that is what I was looking for. I have also seen it where you just click on the file and it will automatically ask you.
I beleive I've only seen this in Windows 2000. I don't recall seeing this in XP...
But, I could be wrong. I'm pretty good about using run-as or making sure I'm logged in with appropriate priv.
Quitmzilla is a firefox extension that gives you stats on how long you have quit smoking, how much money you\'ve saved, how much you haven\'t smoked and recent milestones. Very helpful for people who quit smoking and used to smoke at their computers... Helps out with the urges.
-
May 17th, 2006, 04:54 AM
#7
Junior Member
Yeah, I have seen it in W2K. That is probably why I could not find it in XP.
-
May 17th, 2006, 07:02 AM
#8
Banned
No, it works in XP, I have XP Pro SP2 and I use Runas when running as a limited user.
-
May 17th, 2006, 04:48 PM
#9
Lolz...
"where you just click on the file and it will automatically ask you" - They are talking about this option availability in Win2000 and not in WinXP, not the "run as" command, I think.
Cheers!
Yo!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|