Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to disable user handoff in Windows10

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, Xiaobian will bring you about how to disable user switching in Windows 10. The article is rich in content and analyzes and narrates from a professional perspective. After reading this article, I hope you can gain something.

What is Fast User Switching?

The following example provides a simpler understanding of Fast User Switching. You have only one computer in your home for family use, and each member of the family is assigned their own user account. This means that everyone will need to log in through their own personalized user account, while the previous user will need to log out. After logging off, all of their running applications are closed when the new user logs in.

This is not the case for fast user switching. Family members can switch to their designated accounts without shutting down any programs or services previously running on other user accounts. When the previous member of the family logs back into their account, they will see their profile when they leave; everything is running.

Now, suppose you have a large family and everyone has their own user account. Everyone wants their personal data to be unaffected by the use of other family members. However, a significant amount of system resources will now be dedicated to keeping the profile running, resulting in overall performance degradation of the system.

In this case, users tend to disable the "Quick User Switching" feature on Windows 10 and Windows 7, so that no account is given the option to keep its profile, and everything must be turned off.

If Fast User Switching is enabled, you can see it at:

login screen

Task Manager

Start menu

Ctrl + Alt + Del hotkey

Alt + F4 hotkey

Now, let's move on to see how to enable and disable this feature in Windows.

Disable Fast User Switching through Group Policy Editor

Because this method uses the Group Policy Editor, it works only with Windows Professional and Enterprise. If you are using the Home Edition, you can disable fast user switching through Registry Editor using the second method provided below.

1. Start the Group Policy Editor by typing gpedit.msc in Run.

2. Navigate to the following in the left pane:

Computer Configuration -> Administrative Templates -> System -> Logon

3. In the right pane, double-click Hide entry point for quick user switching.

4. Select Enabled, then click Apply and OK.

5. To implement the changes, run as administrator command prompt and enter the following command:

gpupdate /force

As you can see now, the "switch user" option will disappear from every location it was previously possible to find. Users can now switch to another account only after logging out of their current account, automatically closing every program and application and freeing up resources.

If you want to re-enable the feature at any time in the future, navigate to Hide entry points for quick switching users in the Group Policy Editor, select Disabled, and then rerun the command from the command prompt as before.

Disable Fast User Switching via Registry Editor

This approach works regardless of the operating system version, but since Windows registries are a critical part of the operating system, it's best to create backups before proceeding with them.

1. Start the Registry Editor by typing regedit in Run.

2. Navigate to the following in the left pane:

HKEY_Local_Machine -> Software -> Microsoft -> Windows -> CurrentVersion -> Policies -> System

3. Double-click HideFastUserSwitching in the right pane. If the file does not exist on your computer, right-click System, expand New, select DWORD(32-bit) Value, and name the DWORD HideFastUserSwitching.

4. After opening the Edit DWORD window, set the value to 1 under Value Data, and click OK.

5. Restart your computer for the changes to take effect.

Once the computer starts up again, you will see that the fast user switching feature has been disabled. However, if you want to restore the feature at any time, return the " HideFastUserSwitching" DWORD in Registry Editor and restore the "Numeric Data" to 0, then restart your computer.

Use PowerShell to disable fast user switching

This method is fast, does not require a system reboot, and can be used on any version of Windows. This method involves a short script to run on Windows PowerShell, which does manipulate the Windows registry, so it is recommended to backup your computer before proceeding.

"Run Windows PowerShell as Administrator, and then copy or type the following command to disable the feature. The screen may flicker during a short period of time, so don't panic.

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

You may now notice that the feature is turned off and that each user now needs to log out and switch between user accounts to automatically close their running apps and programs.

If you want to re-enable the feature using PowerShell, enter the following command in the same way:

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" If you happen to have similar doubts, you may wish to refer to the above analysis for understanding. If you want to know more about it, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report