Перейти к контенту
ит сервис
Whatsapp
Telegram
Instagram
-
+7 952 577 8880
Авто вход в систему Windows 2008 2012 2016 2019 Server без запроса пароля (автологин)
Используя R it servise
Опубликовано
0
В реестре:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Установить параметр DefaultUserName, вводом имя пользователя под которым должен происходить автоматический вход в систему.
Установить параметр DefaultPassword, значением своего пароля.
Изменить параметр AutoAdminLogon на 1.
Перезагрузить компьютер.
Добавить комментарий
Ваш адрес email не будет опубликован. Обязательные поля помечены *
Сохранить моё имя, email и адрес сайта в этом браузере для последующих моих комментариев.
Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.
Sometimes there is software which runs on a Windows Server which can’t be started at a service. The easiest way around this is to Automatically Logon to the Server, Automatically Start the Software and then Automatically Lock the Windows Server.
There are three steps that you will need to complete to accomplish this.
1. Set up the Windows Server to Automatically Logon upon reboot.
This article will assume you are already familiar with working in the registry editor.
Step 1
First of all you will need to open up the registry editor on the server. – Start > regedit
Step 2 – Navigate to the following registry subkey
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
The following strings need to be set. If any of the strings are not present you will need to create a new String
- AutoAdminLogon – 1
- DefaultDomainName – Your Domain Name
- DefaultUsername – Your Username
- DefaultPassword – Your Password
Please Note:
To bypass the AutoAdminLogon process and to log on as a different user, press and hold the Shift key after you log off or after Windows restarts.
If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), disabling the AutoAdminLogon feature.
2. Automatically Start the Required Program
This one’s a simple as creating a shortcut to the program and adding it to your users startup directory.
3. Automatically Lock the Server after Logon
Step 1 – Create a new Notepad Document and place the following text in it
@echo off
%windir%\System32\rundll32.exe user32.dll,LockWorkStation
exit
Step 2
Save the autolock as a batch file. Be sure to change the “Save as Type” to All Files (*.*)
Step 3
Create a shortcut to the batch file and add to the users startup directory.
Security Implications
If you haven’t already noticed, the password for the computer is now stored in the Windows Registry as Plain Text. If the password is sensitive to others using the same server this probably won’t work for you. Anyone who has permissions to log on to the server will be able to go to the registry editor and see the password. In smaller environments this isn’t an issue but for larger corporations it may.
This simple method has worked for me in Windows Server versions 2012 R2 through 2022. Create a new .reg file with the contents below, adjusting the USERNAME, PASSWORD strings as appropriate. Then run it to add to the registry
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="USERNAME" "DefaultPassword"="PASSWORD" "AutoAdminLogon"="1"
If it is a domain joined machine, then add this line and modify the DOMAIN string.
"DefaultDomainName"="DOMAIN"
Sourced from:
https://community.spiceworks.com/topic/1911274-autologin-autologon-sysinternals-with-windows-10-issue#entry-6360895
More information on this method:
https://docs.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon
This entry was posted in Uncategorized. Bookmark the permalink.
Как сделать автовход и автоблокировку?
Привет, у меня такая ситуация. Используется вин сервер, в таск-менеджере есть задача которая запускается при вошедшем админе через определенное время, несколько раз в сутки.
Нужно после перезагрузки сервера, что бы был автовход админа и сразу же блокировка учетной заиписи админа, как это реализовать?
Автовход думаю через control userpasswords2, а вот блокировка? Ведь если я в таск-менеджер команду блокировки поставлю то это безконечный вход блокировка получиться ))), как выйти с данной ситуации?))
-
Вопрос задан
-
1456 просмотров
СкринСэйвер с включением через 1 секунду?
вход черезcontrol userpasswords2
а блокировку через RunDll32.exe user32.dll,LockWorkStation
добавить в планировщик
автовход можно через реестр
HKEY_LOCAL_MACHINE –> SOFTWARE –> Microsoft –> Windows NT –> CurrentVersion –> Winlogon
Параметры:
AutoAdminLogon 1
DefaultUserName пользователь
DefaultPassword пароль
автоблокировка:
HKEY_CURRENT_USER
Software –> Policies –> MicrosoftWindows –> Control PanelDesktop
Параметр ScreenSaveTimeout REG_SZ = 1 (устанавливается необходимое Вам значение)
Пригласить эксперта
А задача не может запускаться при невошедшем админе?
Через что она настроена, что обязателен логин?
Ну и да, можно настроить автологон пользователя и сразу же лочить экран, добавив ему в автостарт команду
RunDll32.exe user32.dll,LockWorkStation
-
Показать ещё
Загружается…
