Windows 7 登录屏幕中是否有本地计算机名称的别名?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5216119/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 16:21:15  来源:igfitidea点击:

Is there an alias for the local machine name in the Windows 7 login screen?

windowswindows-7login

提问by Mikael

We have many computers connected to a AD. The computers names is auto generated. When I want to log in using a local account, I have to figure out what the computer's name is, and log in using the following syntax:

我们有许多计算机连接到 AD。计算机名称是自动生成的。当我想使用本地帐户登录时,我必须弄清楚计算机的名称是什么,并使用以下语法登录:

[COMPUTER_NAME]\local_account

Now I'm wondering if there is an alias that I can use instead?

现在我想知道是否有我可以使用的别名?

So instead of logging in using NB-aw35sdds\local_account, I can use something like localhost\local_account.

因此NB-aw35sdds\local_account,我可以使用类似localhost\local_account.

回答by Cody Gray

Yes, I agree: they completely broke the login screen with Windows Vista. Unfortunately, Windows 7 didn't come to the rescue with a "classic logon" option like it did for most things broken in Vista.

是的,我同意:他们完全打破了 Windows Vista 的登录屏幕。不幸的是,Windows 7 并没有像 Vista 中的大多数问题那样提供“经典登录”选项来拯救它。

As you imagined, though, there is a simple workaround. Instead of typing your computer name, you can use the following alias:

不过,正如您想象的那样,有一个简单的解决方法。您可以使用以下别名,而不是键入您的计算机名称:

.\

So, you can simply type the following to log on to the local workstation:

因此,您只需键入以下内容即可登录到本地工作站:

.\UserName