惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页
雷峰网
雷峰网
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
腾讯CDC
T
Tailwind CSS Blog
A
About on SuperTechFans
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
G
Google Developers Blog
The Cloudflare Blog
D
DataBreaches.Net
Recent Announcements
Recent Announcements
Engineering at Meta
Engineering at Meta
B
Blog
博客园 - 聂微东
阮一峰的网络日志
阮一峰的网络日志
月光博客
月光博客
博客园 - 司徒正美
MongoDB | Blog
MongoDB | Blog
Google DeepMind News
Google DeepMind News
Apple Machine Learning Research
Apple Machine Learning Research

博客园 - 顽石

【转载】Sql中判断"数据库"、"表"、"临时表"、"存储过程"和列"是否存在 【转载】如何修改MSDE的登录方式及sa密码 【转载】windows 2008 r2 AD密码策略 无法启动wicrosoft office outlook ,无法打开outlook窗口 问题的解决 C#获取路径 Refactoring--1 [转载]程序员能力矩阵 你属于哪一层? 如何用visual studio 2005 编写C语言程序 EXCHANGE2007安装及备份还原操作手册 [转载]PowerShell 经典脚本贮藏室 【转载】全程图解--教你如何做RAID磁盘阵列 【转载】易学易用的Windows PowerShell 【转载】不一样的命令行 – Windows PowerShell简介 【转载】RAID扫盲 安装SQL SERVER 2005 SP3 问题及解决方案 在尝试安装 SQL Server 2005 Service Pack 或 SQL Server 2005 修补程序包时出现错误消息:“Error 29528. The setup has encountered an unexpected error while Setting Internal Properties”(错误 29528。安装程序在设置内部属性时遇到错误) [转载]IIS出现“另一个程序正在使用此文件,进程无法访问。”解决办法 Announcing SharePoint Server 2010 Preliminary System Requirements [转载]在Vista上安装MOSS2007
How to run explorer.exe as another user
顽石 · 2010-11-13 · via 博客园 - 顽石

from:http://www.krunk4ever.com/blog/2006/12/01/how-to-run-explorerexe-as-another-user/

So with the introduction of IE7, my little hack no longer worked, which was having the following shortcut: runas.exe /u:administrator "C:\Program Files\Internet Explorer\iexplore.exe"

With the IE7 update, when I enter C:\ into the location bar, it actually opens up a new Explorer window, running as my current user. Before it would automatically open C: drive in the same IE window and let me browse as administrator.

With this block, I decided to see if I could get explorer.exe to launch instead of going through iexplore.exe. Running explorer.exe from an administrator command prompt didn’t do anything. I was able to run start . and get an Explorer window opened, but that was running under me again. I search for explorer.exe switches and found this site: Command-Line Switches for Windows Explorer, however none of those switches seem to work. Calling explorer.exe /? returned immediately without displaying any kind of help.

Finally, I just went and searched for “how to launch explorer as another user” and found this: How do run Explorer as another user which had a very useful reply.

Apparently, the switch you have to pass in is /separate. At first I thought it was just a fake, but then realized I was spelling seperate incorrectly. If you execute the following command: runas.exe /u:administrator "explorer.exe /separate", you’ll be able to start explorer.exe as another user