windows-server-2008-r2 - 无法注销 Windows Server 2008

标签 windows-server-2008-r2 remote-desktop windows-server mmc snap-in

我目前使用远程桌面登录到我的 Windows Server 2008 R2 (x64) 服务器。当我点击 Start -> Log Out 时,弹出以下消息:

enter image description here

消息说:
“正在等待所有管理单元完成...”

后台有第二个对话框,上面写着:

MMC cannot initialize the snap-in.



现在我无法注销,也无法调出任务管理器。我可以点击 ctrl-alt-del 然后单击任务管理器,我可以右键单击任务栏并单击启动任务管理器,我可以单击开始菜单并单击注销,但这些都没有做任何事情。我也无法单击屏幕截图中显示的确定按钮。

这是一个实时网络服务器,所以我不想尝试重新启动服务器。

我可以断开与远程桌面的连接,但稍后重新登录时仍会显示这些对话框。

有任何想法吗?我只需要等到半夜重新启动服务器吗?

最佳答案

尝试从命令提示符shutdown/l

C:\Users\User>shutdown /?
Usage: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]
    [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]

    No args    Display help. This is the same as typing /?.
    /?         Display help. This is the same as not typing any options.
    /i         Display the graphical user interface (GUI).
               This must be the first option.
    /l         Log off. This cannot be used with /m or /d options.
    /s         Shutdown the computer.
    /r         Shutdown and restart the computer.
    /g         Shutdown and restart the computer. After the system is
               rebooted, restart any registered applications.
    /a         Abort a system shutdown.
               This can only be used during the time-out period.
    /p         Turn off the local computer with no time-out or warning.
               Can be used with /d and /f options.
    /h         Hibernate the local computer.
               Can be used with the /f option.
    /e         Document the reason for an unexpected shutdown of a computer.
    /m \\computer Specify the target computer.
    /t xxx     Set the time-out period before shutdown to xxx seconds.
               The valid range is 0-315360000 (10 years), with a default of 30.
               If the timeout period is greater than 0, the /f parameter is
               implied.
    /c "comment" Comment on the reason for the restart or shutdown.
               Maximum of 512 characters allowed.
    /f         Force running applications to close without forewarning users.
               The /f parameter is implied when a value greater than 0 is
               specified for the /t parameter.
    /d [p|u:]xx:yy  Provide the reason for the restart or shutdown.
               p indicates that the restart or shutdown is planned.
               u indicates that the reason is user defined.
               If neither p nor u is specified the restart or shutdown is
               unplanned.
               xx is the major reason number (positive integer less than 256).
               yy is the minor reason number (positive integer less than 65536).

关于windows-server-2008-r2 - 无法注销 Windows Server 2008,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8073271/

相关文章:

linux - 在 Linux 上生成用于 Windows 的 x.509 key 对

.net - 如何从 Windows Server Core 上的 WPF 应用程序使用“浏览文件夹”对话框?

php - Windows Server 2008 R2/IIS7.5 上缺少 IUSR 帐户

svn - 如何远程访问我的 visualsvn 服务器

pdf - 使用PowerShell脚本访问Word 'Save As'对话框

java - 开发一个工具来知道谁连接到远程机器?

remote-desktop - 在远程网络上启用对 PC 的桌面访问的最佳方式

git - 在 Windows/Active Directory 环境中的服务器上配置 GIT

powershell - 如何知道远程工作站上是否安装了powershell?

iis - Windows Server 2012 Essentials 上的 IIS 在哪里