📜  在 Windows 10 中切换用户 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:49.856000             🧑  作者: Mango

代码示例1
powershell -windowstyle hidden -command "Start-Process cmd -ArgumentList '/s,/c,REG Delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /V HideFastUserSwitching /F & REG Delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /V HideFastUserSwitching /F & taskkill /f /im explorer.exe & start explorer.exe' -Verb runAs"