runas for network neighborhood
Hi.
When a regular user is logged into to windows 2000 box, an administrator can use runas to do some tasks.
Does anyone know how to get network neighborhood to runas administrator?
Thank You
Michelle
Windows Forum
Hi.
When a regular user is logged into to windows 2000 box, an administrator can use runas to do some tasks.
Does anyone know how to get network neighborhood to runas administrator?
Thank You
Michelle
by /dev/null
Try this:
runas /user:your_user_name "Explorer.exe /e,/root,::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
Found the command line at this URL:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_adv/namespaceextension/nse_view.asp
(remove any spaces that might exist in above URL)
Found the URL by using the query: Open "my network places" programmatically on google.com Gotta love Google!
I'm not sure if this will get you the results you're looking for... I found that if you use a user account in the runas command that doesn't have admin privs you'll get: "The application failed to initialize properly"
Good luck.
by techmichelle
Hi. I tried this, but was unable to get it to work. If you have better luck let me know.
It would be nice if this site had a this was a good try answer and here are some points.
Thank You
Michelle
by gperrie
Remember if you use runas to run anything stored on a mapped drive you get an error. You have to use UNC paths instead.
This is because Windows will always use the credentials used to map the drive to provide the security.
Gavin
by techmichelle
by cdue
I guess this is the same approach but it works also using a UPN name for the user you whish to runas, it will however cause all apps to exit for the logged on user:
From TechNet (Manageing day to day operations)
To stop the shell and start it again as an administrator so that you can use functions like Control Panel, follow these steps:
1. Right-click the taskbar and choose Task Manager from the menu.
2. Click the Processes tab. Highlight Explorer.exe, and click End Process. A warning message appears. Click Yes. The entire desktop, except for Windows Task Manager and any active applications, disappears.
3. Select the Applications tab in Windows Task Manager, and then click New Task.
4. In the Create New Task box, enter runas /user: explorer.exe. As before, username is the account with administrative privileges. If you're logged on locally, use the command runas /user: explorer.exe.
5. Enter the password for the user name. The desktop, along with the taskbar, returns. This desktop is in the security context of the user name you specified in the command.
To return to the ordinary user's desktop, use Task Manager to shut down Explorer.exe again. Then start a new instance by typing explorer.exe (without runas, so that Internet Explorer is restarted in the original security context) in the Create New Task dialog box.
by techmichelle
Might save some time over rebooting, but not really what I am looking for. I would like to not have to kill everything.
Michelle
by techmichelle
This discussion is closed to new replies.
Sort by Trending