Full Disclosure mailing list archives
RE: Windows user privileges
From: "Phillip R. Paradis" <prp17 () adelphia net>
Date: Tue, 23 Nov 2004 16:05:43 -0500
is that windowed applications do not get polled for refresh, so for example using an explorer instance in a runas will notupdate the filelisting until you press "F5" I have witnessed bad thingscome of this Are we able to run Explorer.exe using runas utility...
Yes, but it won't do much good. The instance running as your second user will simply detect the first instance in memory and tell it to open a new window, then terminate. The window will be opened by an already-running instance of explorer.exe, not the one you just started, and will therefore have the permissions of the original user who logged in, not those of the user specified to RunAs. If you first kill all running instances of Explorer.exe from the task manager (or using the kill utility) and then start explorer via RunAs (from the command prompt) it will restart the shell as a different user, and you can then open an explorer window with the permissions you want. Then kill and restart explorer.exe again to restart the shell as the original user. (Be sure to do so from an instance of task manager or a command prompt that is still running in the original user's context.) IIRC, you can also simply "log off" from the shell, and it will restart as the original user. _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- RE: Windows user privileges Todd Towles (Nov 20)
- Re: Windows user privileges GuidoZ (Nov 20)
- <Possible follow-ups>
- RE: Windows user privileges Sandeep Singh Rawat (Nov 22)
- RE: Windows user privileges Paul Schmehl (Nov 22)
- RE: Windows user privileges rp (Nov 22)
- RE: Windows user privileges Phillip R. Paradis (Nov 23)
- Re: Windows user privileges James Tucker (Nov 24)
- Re: Windows user privileges devis (Nov 25)
- RE: Windows user privileges Paul Schmehl (Nov 22)