![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 00:05 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » [Help] Using a batch file to terminate explorer.exe and reopen it under another user |
| Printable Version 836 / 0 |
| Floor1 techwise | Posted 2010-08-18 13:02 |
| 新手上路 Posts 6 Credits 15 | |
|
What I mean is, the currently logged-in user is not an administrator, and I want to open the administrator user's desktop without logging off (not the folder corresponding to the desktop).
runas /savecred /u:administrator calc.exe taskkill /f /im calc.exe /t taskkill /f /im explorer.exe /t C:\WINDOWS\system32\runas.exe /savecred /u:administrator explorer.exe The above commands can't achieve it. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |