Автовыход из учетной записи windows 10


Readers help support Windows Report. We may get a commission if you buy through our links.

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

When you use an electronic gadget, especially a laptop, you should ensure that you have the best privacy settings applied. Apart from manually locking your PC, did you know that you can perform auto logoff after inactivity on your Windows 10 PC?

You can use the Dynamic Lock feature in Windows 10 to automatically lock your computer when you leave the room. Alternatively, here, in this guide, we will give you a comprehensive explanation of how you can set up your Windows 10 PC to auto logoff after inactivity.

How can I set auto logoff after inactivity on my Windows 10 PC?

1. Use SecPol

  1. Press the Win + R keys to open the Run dialogue.
  2. Type secpol.msc and press Enter.

  3. Expand Local Policies.

  4. Select Security Options.

  5. Double-click Interactive Logon: Machine inactivity limit option.

  6. Enter the amount of time after which you would like your PC to logoff. In our case, it is 600 seconds, i.e., 10 minutes.

    • Do note that you can type an inactivity limit between 1 to 599940 seconds.
  7. Sign out of your account.
  8. Restart your PC for the changes to take effect.

2. Use Registry Editor

  1. Press Win + R keys to open the Run dialogue.
  2. Type regedit and press Enter.

  3. Navigate to the below path and press Enter. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

  4. Right-click on the right-side and select New.
  5. Click on DWORD 32-bit Value.

  6. Rename the value as InactivityTimeoutSecs.
  7. Under the Value filed, type 600, which equals 10 minutes.

  8. Click OK.
  9. Close Registry Editor.
  10. Restart your PC for the changes to take effect.
Read more about this topic

  • Recent Windows 11 update lets you disable profanity filter in voice typing
  • Meta under fire after AI chatbot caught having sexual talks with minors
  • OpenAI decides to reverse recent GPT-4o update after user find bot being overly appeasing

3. Create GPO to set automatic logout after inactivity/idle

  1. Press Win + R keys to open the Run dialogue.
  2. Type gpmc.msc and press Enter to open Group Policy Management.
  3. Expand Forest: XXX.LOCAL.

  4. Double-click Domains.

  5. Expand XXX.LOCAL.
  6. Right-click Client and select Create a GPO in this domain, and Link it here option.

  7. Enter the name for the new GPO, example, MY-GPO.
  8. Right-click on MY-GPO and select Edit.
  9. In the Group Policy Editor screen, navigate to the below path. User Configuration > Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits
  10. On the right-side open the Set time limit for active but IDLE Remote desktop service sessions item.
  11. Select Enable.

  12. Under Idle session limit, select the desired time limit.

  13. Click OK.
  14. Open End session when time limits are reached item and enable it.

  15. Click OK.
  16. Close Group Policy Editor.
  17. The system will show a warning message 2 minutes before logging off your PC.

In case group policy management isn’t available on your PC, then you can check out our guide that lists two methods that will help you install group policy management on your PC.

4. Use a dedicated software

  1. Download Windows Shutdown Assistant.
  2. Install it on your PC.
  3. Launch the program.
  4. Select the System idle for option and set the time limit. In our case, set 10 minutes.

  5. Click the Start button.

If you do not want to go through the hassle of creating a GPO to logoff your PC after a certain time, you can make use of a dedicated tool called Apowersoft Windows Shutdown Assistant.

This tool not only helps you accomplish the task of Windows 10 auto logoff after inactivity, but you can also perform other tasks such as turning off the computer automatically in various situations, locking, restarting, hibernating, and logging off the computer at a specific time, and much more.

We also have a guide that lists 3 methods to auto login on Windows 11. This could be useful when you want to access your PC easily and quickly.

For Windows 10 users, our guide on how to schedule automatic shutdown will help program your PC to shut down at a specific time.

That is it from us in this guide. Let us know in the comments below, which one of the above solutions you applied for Windows 10 auto logoff after inactivity.


Sagar Naresh

Sagar is a web developer and technology journalist. Currently associated with WindowsReport and SamMobile. When not writing, he is either at the gym sweating it out or playing country music on his guitar.

He is an avid traveler and has been to 15 countries, going to more places soon. TRAVEL and WORK is his mantra for a peaceful life.


Время на прочтение4 мин

Количество просмотров146K

Анализируя поступающие заявки наших клиентов в службу технической поддержки и обращения к консультантам, мы заметили, что множество наших клиентов сталкиваются с такой проблемой как «автовыход», не понимая, что это и как с ней бороться.

Любой сервер в том числе и виртуальный сервер должен работать в постоянном режиме 24 х 7 х 365. И соответственно пользователь, который запускает программы на выполнение на сервере, рассчитывает, что они будут работать в таком же режиме. Именно на это и рассчитывают наши клиенты. Однако устанавливая на VPS сервер различного рода десктопное программное обеспечение, которое разрабатывалось «умельцами» без мысли, что существуют компьютеры, не имеющие мониторов, отключившись от сервера через какое-то время замечают, что его программа перестала работать должным образом, при том что сервер активен и доступен. Замечают это как правило при следующем подключении к серверу для анализа данных с как подразумевалось работавшего ПО. Проблема, очевидно в том, что данное ПО что-то пытается брать со свойств экрана (разрешение, позиция курсора и т.д.) при том, что ни экрана, ни курсора при отключенном сеансе нет.

Данная проблема является частным случаем ограничения работы сеансов по времени, за которую отвечает узел групповой политики «Службы удаленных рабочих столов» с одноименным названием «Ограничение сеансов по времени». Он позволяет гибким образом настраивать время работы запущенных сеансов или Ваших сотрудников на сервере при организации рабочих мест, что позволяет Вам более оптимально использовать ресурсы арендуемого сервера Windows VDS.

Запустим на сервере редактор «Локальной групповой политики» нажав сочетание клавиш Win+R и Набрав команду GPEDIT.MSC

Далее необходимо перейти по следующему пути в ветке «Конфигурация пользователя», если Вы хотите произвести настройки для текущего пользователя или в ветке «Конфигурация компьютера», если Вы хотите настроить для всех пользователей сервера.

Административные шаблоны -> Компоненты Windows -> Службы удаленных рабочих столов -> Узел сеансов удаленных рабочих столов -> Ограничение сеансов по времени.

Видим, что параметры ограничения по времени не заданы явным образом и настраивать их можно для следующих ситуаций:

  1. Для отключенных сеансов
  2. Для активных, но бездействующих сеансов
  3. Для активных сеансов
  4. Сеанс RemoteApp

Рассмотрим каждый из них несколько подробнее.

1.«Задать ограничение по времени для отключенных сеансов»

При помощи этого параметра Вы можете указать промежуток времени в минутах, часах или днях, на протяжении которого открытые программы будут продолжать работать после отключения от сервера.

Если Вы хотите, чтобы Ваша программа работала на сервере в постоянном режиме и не происходило «автовыхода» при отключении, то данный параметр следует указать как Включен и выбрать Никогда. Что является решение выше описанной ситуации.

Данный параметр можно так же использовать в моменты, когда рабочий день сотрудника закончен, но на выполнение некоторых автономных процессов, которые не требуют вмешательства пользователя, нужно еще дополнительное время, в таком случае можно указать Включено и указать необходимо количество времени.

2.«Задать ограничение по времени для активных, но бездействующих сеансов служб удалённых рабочих столов»

Бездействующим сеансом считается тот сеанс, когда удаленный рабочий стол начинает простаивать без каких-либо операций ввода, со стороны пользователя. Сотрудник может подключиться к удаленному рабочему столу сервера, а затем по завершении рабочего дня попросту забыть отключиться от сервера и уйти домой. В таком случае сеанс активен, но простаивает и ресурсы выделяемые сервером и зарезервированные для этого пользователя, простаивают и соответственно расходуются не эффективно. В таком случае можно указать Включено и указать необходимо количество времени, после которого при простое, сеанс будет завершен.

3.«Задать ограничение по времени для активных сеансов служб удалённых рабочих столов»

Данный параметр отвечает за завершение даже активного сеанса, скажем если политикой Вашей компании является достаточно строгий контроль рабочего времени и не допускаются переработки. То Вы можете установить это параметр на Включено и указать максимальный период рабочего времени. Соответственно по завершению рабочего дня, сеанс даже активного пользователя будет завершен, но за две минуты до отключения, пользователю будет предоставлено предупреждающее сообщение, чтобы он смог сохранить все выполненные за время подключения изменения и открытые рабочие документы.

Во втором и третьем случае обязательно включение параметра «Завершать сеанс при достижении ограничения по времени». Включение данного параметра указывает, чтобы производилось именно завершение сеанса пользователя, в противном случае будет производится только отключение сеанса, но не его завершение.

4.«Задать предел времени для выхода из сеансов RemoteApp»

Данный параметр позволяет Вам, завершать сеанс в момент, когда Вы не производили подключение к удаленному рабочему столу сервера, но подключение к серверу было установлено при помощи сторонних программ. При закрытии программы, если параметр «Не задан», то сеанс отключается, но не завершается. Для завершения сеанса необходимо указать Включено и установить время, так же доступен параметр «Немедленно».

Idle user sessions can be a hidden drain on your system’s performance and become a potential security risk.

When a session remains active after a user disconnects, it leaves the system vulnerable to unauthorized access. This is especially critical in shared or remote environments, where unattended sessions can expose sensitive data.

The solution? Automatically logging off idle users after a set period of inactivity. This simple configuration helps you free up system resources while safeguarding your computer from unauthorized access.

A word of caution: Unsaved work will be lost if users are logged out automatically. Encourage users to save their progress frequently to avoid data loss.

In this guide, you’ll learn how to set up automatic logoff in Windows to protect your system and enhance its performance.

IN THIS GUIDE

Why You Should Enable Automatic Logout After Inactivity

Configuring Auto Log Off for Idle Users in Windows

Common Questions About Automatic Logout in Windows

Streamline User Management with V2 Cloud

WordPress Table of Contents by Topic

Why You Should Enable Automatic Logout After Inactivity

Enabling automatic logout after inactivity offers several benefits, especially in shared or remote desktop environments. Here’s why this feature is essential:

1. Enhanced Security

Idle sessions can be a gateway for unauthorized access, especially if users forget to log out. By configuring automatic logoff, you can reduce the risk of sensitive data being accessed or misused by others.

This is particularly important for businesses handling confidential information or operating in regulated industries.

2. Optimized System Performance

When idle sessions remain active, they continue consuming system resources like memory (RAM) and processing power. Over time, this can slow down the system, especially in environments with multiple users.

Automatically logging off idle users clears these sessions, freeing up resources for active tasks and improving overall performance.

3. Simplified IT Management

For IT administrators, managing multiple user sessions can be challenging. Automatic logout ensures that inactive sessions don’t pile up, reducing the need for manual intervention.

This feature makes resource allocation and session monitoring more efficient, especially in virtualized or cloud-based setups.

Configuring Auto Log Off for Idle Users in Windows

Follow these detailed instructions to set up automatic logoff for idle users. This process uses the Local Group Policy Editor, a built-in Windows tool for managing advanced system configurations.

Step 1: Open the Local Group Policy Editor

  1. Access the Run Dialog:
    • Press the Windows Key + R on your keyboard. This will open the Run dialog box.

  2. Open the Editor:
    • Type gpedit.msc in the text field and click OK or press Enter.
    • This action will launch the Local Group Policy Editor.

Step 2: Navigate to the Correct Configuration

  1. Expand the Hierarchy:
    • In the Local Group Policy Editor window, expand the following folders in order:
      • Computer Configuration
      • Administrative Templates
      • Windows Components
      • Remote Desktop Services
      • Remote Desktop Session Host
      • Session Time Limits
  2. Locate the Setting:
    • Under “Session Time Limits,» find the policy labeled Set time limit for disconnected sessions.
      Background Image

Step 3: Configure the Setting

  1. Open the Policy:
    • Double-click on Set time limit for disconnected sessions to open the policy configuration window.
  2. Enable the Policy:
    • In the configuration window, select Enabled to activate the policy.
      Background Image

  3. Set the Time Limit:
    • Use the dropdown menu to select an appropriate time limit for idle sessions (e.g., 15 minutes, 1 hour).
    • Choose a time limit that balances security and convenience based on your needs.
  4. Save the Changes:
    • Click OK or Apply to confirm and save the settings.

Step 4: Restart the Cloud Computer

  1. Why Restart?
    • Restarting the computer is necessary to ensure that the changes take effect system-wide.
  2. Perform the Restart:
    • Close the Local Group Policy Editor and restart your system.

Common Questions About Automatic Logout in Windows

1. What happens to unsaved work when a user is logged off automatically?

If a user is automatically logged off due to inactivity, any unsaved work will be lost. To prevent data loss, it’s important to remind users to save their work regularly, especially before leaving their sessions idle.

2. Can I configure different time limits for different users?

The Local Group Policy Editor applies settings globally, meaning all users on the system will follow the same time limit for inactivity. For more granular control, you might need to use scripting or third-party tools to customize settings for specific users.

3. Is it possible to disable the automatic logout feature later?

Yes, the feature can be disabled at any time. Simply follow the same steps to navigate to Set time limit for disconnected sessions in the Local Group Policy Editor and choose Disabled or Not Configured.

4. Will this setting work on all versions of Windows?

The Local Group Policy Editor is available in Professional, Enterprise, and Education editions of Windows. It is not included in Home editions. For those using Home editions, similar changes can be made by modifying the Windows Registry, though this requires advanced technical knowledge.

5. Does this apply to both local and remote users?

This setting is specifically designed for remote desktop sessions. However, similar policies can be configured for local users through other settings in the Group Policy Editor.

Streamline User Management with V2 Cloud

Implementing automatic logout after inactivity is a great step toward optimizing system performance and security, but managing multiple user sessions can still be a challenge—especially in cloud-based environments.

That’s where V2 Cloud makes a difference. Here’s how we will help you:

  • 1. Simplified Session Management: V2 Cloud’s virtual desktop solution allows you to easily monitor and manage user sessions. With built-in tools, you can set session timeouts, enforce idle logout policies, and ensure that resources are allocated effectively without relying on manual configuration.
  • 2. Enhanced Security for Remote Work: With V2 Cloud, idle sessions are securely handled, reducing the risk of unauthorized access. The platform is designed with advanced security features, including encrypted connections, multi-factor authentication, and automatic session disconnection after inactivity.
  • 3. Seamless Performance Optimization: Unlike traditional setups, V2 Cloud dynamically allocates resources based on user activity. Automatic session disconnection works hand-in-hand with the platform’s performance optimization features, ensuring a smooth and lag-free experience for active users.

With V2 Cloud, you can simplify user management, enhance security, and improve system performance—all without the hassle of manual configuration.

Ready to streamline your IT operations? Talk to a Cloud Expert Now and take your user management to the next level.

С февраля будет работать только ручной режим. 

Microsoft процесс работы с учётными записями: в феврале исчезнет функция автоматического выхода из системы. Это особенно важно учитывать пользователям, которые периодически работают на общедоступных или чужих компьютерах.

Сейчас при входе в аккаунт отображается сообщение с предложением оставаться в системе, чтобы избежать повторного ввода данных. При желании можно отказаться. В следующем месяце это оповещение исчезнет. Нужно будет либо использовать режим приватного просмотра, либо вручную выходить из учётной записи после завершения работы, иначе она останется активной.

Если вы забудете выйти, вы сможете принудительно завершить все сеансы (за исключением консолей Xbox) с любого доступного вам устройства. Однако к тому моменту ваши данные уже могут оказаться в чужих руках.

Нововведение связано с развитием системы ключей доступа для всех учётных записей Microsoft. Опция была внедрена несколько месяцев назад, что позволяет пользователям входить с помощью лица, отпечатка пальца, PIN-кода или ключа безопасности. Компания стремится полностью отказаться от паролей.

Отключение выхода из учетной записи при бездействии компьютера



Автор 
Вадиван



Среда, 26 сентября 2018

Это интересно

  • КОКТЕЙЛЬ «МОЛОЧНАЯ ВИШНЯ»

    КОКТЕЙЛЬ «МОЛОЧНАЯ ВИШНЯ» СОСТАВ: Йогурт — 100 г Мороженая вишня — 100 г Мороженое ванильное — 50 г Сироп гренадин…

  • ТОСТЫ С КАРАМЕЛИЗИРОВАННЫМ ЛУКОМ, СЕЛЕДКОЙ И КЕТЧУПОМ

    ТОСТЫ С КАРАМЕЛИЗИРОВАННЫМ ЛУКОМ, СЕЛЕДКОЙ И КЕТЧУПОМ СОСТАВ: Черный хлеб — 4 кусочка Кусочки селедки без кожи и костей -…

  • Самые необычные велосипеды, созданные человеком

    «Придумать велосипед» означает создать что-то необычное. История создания обыкновенного велосипеда знакома многим, а кому не знакома, может ознакомиться здесь. А…

  • Некоторые жители Луганщины получат в подарок экологически безопасные виды транспорта

    В Луганской области реализуется проект «Демонстрация возможностей использования велосипедов для сокращения выбросов парниковых газов» общественной организацией «Центр экологического осознанного родительства…

  • Как хотят парковать велосипеды в Японии

    Как многие знают, в последнее время в Москве начался эксперимент с возможностью взять велосипед напрокат. Стараясь записаться в «велосипедные» столицы…

Последние комментарии

  • Мягко перезагрузажаем Linux с помощью REISUB

    Vadivan
    29.10.2024 16:30

    С точки зрения Linux клавиша Print Screen имеет такой же keycode что и SysRq. Поэтому независимо от …

     

  • Мягко перезагрузажаем Linux с помощью REISUB

    Lyamor
    23.10.2024 13:22

    А если нет клавиши SysRq куда надо нажимать?

     

  • Rise of Kingdoms (Rise of Civilizations): Рассвет цивилизаций — советы (гайды) новичкам

    Emilly
    24.08.2024 16:35

    Подскажите пожалуйста, можно ли отменить постройку крепости альянса? Офицер не туда поставил ее.

     

  • K2 — убираем поля электронной почты и сайта из комментариев

    Fergesse
    12.03.2024 21:31

    Спасибо, хорошая и подробная инструкция!

     

  • Выключение автоматического включения кондиционера KIA

    Андрей
    21.12.2023 07:24

    БЛАГОДАРЮ, добрый человек!!!

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Планировщик задач windows 10 команда
  • Виджет список дел на рабочий стол windows 10
  • Как очистить кэш на ноуте windows 10
  • Как устанавливать обновления на windows 10 вручную
  • Вход в безопасный режим windows server 2012 r2