SlideShare ist ein Scribd-Unternehmen logo
1 von 6
How to prevent Windows 8 from automatically logging in the last
user
January 30, 2013 10:10 am / 31 Comments / Sergey Tkachenko
If you have multiple user accounts in Windows 8 (e.g. one for yourself and another for your family member), you may notice a new annoyance
in Windows 8 - it signs in the last user automatically who shut down/rebooted the PC. Most users would not like to be signed in automatically
and would instead prefer seeing a list of users at the logon screen, from where they can choose which user account to login with. Today, we are
going to share a way to prevent Windows 8 from automatically signing in the last user. Let's start.
Overview
In Windows 8, the auto sign in process is controlled via the "Enabled" DWORD value at the following registry key:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUIUserSwit
ch
If the "Enabled" parameter is set to 1, you will get a list of users instead of the last user automatically getting signed in. A problem however is the
behavior of the LogonUI.exe process which resets the "Enabled" value back to zero at every startup, even if you set it manually to 1. Why this
behavior is introduced is not known.
We need a way to prevent the "Enabled" value from being reset to 0 every time and to set it back to 1 before the next logon so that the list of
users is displayed.
Here are the steps to do just that.
First, make sure that you have disabled the automatic sign in option. Press Win+R keys on the keyboard and type the following:
netplwiz
Then press Enter.
The following window will be displayed:
Check the option called "Users must enter a user name and password to use this computer".
How to prevent Windows 8 from logging in automatically to the last logged-in user
This method is based on Group Policy and uses the Logon/Logoff Scripts feature of Group Policy. It is probably the best way to keep the Enabled
value equal to 1 at the end of your Windows session.
You must specify reg.exe as script name and 'add
HKLMSOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUIUserSwitch /v Enabled /t REG_DWORD /d 1
/f' (without the quotes) as script parameters:
GPO
After you do this, you will get the user list every time Windows 8 tries to log on. A quite simple trick.
But it is not so easy to provide ready-to-use scripts for you for this method because GPO settings are per-user and they are stored in the registry at
a path which includes the user's unique SID (S-1-1-164699034-like thing, known as security identifier). On every machine, this SID is unique
and different. So I created a tool to automate all the steps with one click.
Download my User List Enabler - free, portable tool.
User List Enabler
Grab it here. It does exactly what I mentioned above - finds the user's SID and adds the necessary registry values, so that you will be able to
enable the user account list on the Windows 8 logon screen with one click.
How to restore defaults and undo this
If you are using Group Policy's Logoff script, simply remove the script. If you used my tool to enable the user list, you can disable it and restore
the defaults using 1-click.
Thanks to Gaurav Kale which helped me with this research.
That's it. Please share with us if you could tweak this behavior in the comments below.
User List Enabler
Grab it here. It does exactly what I mentioned above - finds the user's SID and adds the necessary registry values, so that you will be able to
enable the user account list on the Windows 8 logon screen with one click.
How to restore defaults and undo this
If you are using Group Policy's Logoff script, simply remove the script. If you used my tool to enable the user list, you can disable it and restore
the defaults using 1-click.
Thanks to Gaurav Kale which helped me with this research.
That's it. Please share with us if you could tweak this behavior in the comments below.

Weitere ähnliche Inhalte

Mehr von Trường Tiền

Troubleshoot a failed hard drive help desk geek
Troubleshoot a failed hard drive   help desk geekTroubleshoot a failed hard drive   help desk geek
Troubleshoot a failed hard drive help desk geekTrường Tiền
 
Recover accidentally deleted files in windows help desk geek
Recover accidentally deleted files in windows   help desk geekRecover accidentally deleted files in windows   help desk geek
Recover accidentally deleted files in windows help desk geekTrường Tiền
 
Install .net framework 3.5, 3.0, 2
Install .net framework 3.5, 3.0, 2Install .net framework 3.5, 3.0, 2
Install .net framework 3.5, 3.0, 2Trường Tiền
 
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem chào mừng đến ...
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem   chào mừng đến ...Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem   chào mừng đến ...
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem chào mừng đến ...Trường Tiền
 
Htg explains what is the windows page file and should you disable it
Htg explains  what is the windows page file and should you disable it Htg explains  what is the windows page file and should you disable it
Htg explains what is the windows page file and should you disable it Trường Tiền
 
How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...Trường Tiền
 
Hdg explains what is the system reserved partition - help desk geek
Hdg explains   what is the system reserved partition  - help desk geekHdg explains   what is the system reserved partition  - help desk geek
Hdg explains what is the system reserved partition - help desk geekTrường Tiền
 
Hdg explains swapfile.sys, hiberfil.sys and pagefile
Hdg explains   swapfile.sys, hiberfil.sys and pagefileHdg explains   swapfile.sys, hiberfil.sys and pagefile
Hdg explains swapfile.sys, hiberfil.sys and pagefileTrường Tiền
 
4 websites for learning javascript, j query, python, html, and css help des...
4 websites for learning javascript, j query, python, html, and css   help des...4 websites for learning javascript, j query, python, html, and css   help des...
4 websites for learning javascript, j query, python, html, and css help des...Trường Tiền
 
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem chào mừng đến ...
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem   chào mừng đến ...Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem   chào mừng đến ...
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem chào mừng đến ...Trường Tiền
 
Recover accidentally deleted files in windows
Recover accidentally deleted files in windows    Recover accidentally deleted files in windows
Recover accidentally deleted files in windows Trường Tiền
 
Install .net framework 3.5, 3.0, 2
Install .net framework 3.5, 3.0, 2Install .net framework 3.5, 3.0, 2
Install .net framework 3.5, 3.0, 2Trường Tiền
 
Htg explains what is the windows page file and should you disable it
Htg explains  what is the windows page file and should you disable it Htg explains  what is the windows page file and should you disable it
Htg explains what is the windows page file and should you disable it Trường Tiền
 
How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...Trường Tiền
 

Mehr von Trường Tiền (20)

Troubleshoot a failed hard drive help desk geek
Troubleshoot a failed hard drive   help desk geekTroubleshoot a failed hard drive   help desk geek
Troubleshoot a failed hard drive help desk geek
 
Recover accidentally deleted files in windows help desk geek
Recover accidentally deleted files in windows   help desk geekRecover accidentally deleted files in windows   help desk geek
Recover accidentally deleted files in windows help desk geek
 
Install .net framework 3.5, 3.0, 2
Install .net framework 3.5, 3.0, 2Install .net framework 3.5, 3.0, 2
Install .net framework 3.5, 3.0, 2
 
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem chào mừng đến ...
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem   chào mừng đến ...Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem   chào mừng đến ...
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem chào mừng đến ...
 
Htg explains what is the windows page file and should you disable it
Htg explains  what is the windows page file and should you disable it Htg explains  what is the windows page file and should you disable it
Htg explains what is the windows page file and should you disable it
 
How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...
 
Hdg explains what is the system reserved partition - help desk geek
Hdg explains   what is the system reserved partition  - help desk geekHdg explains   what is the system reserved partition  - help desk geek
Hdg explains what is the system reserved partition - help desk geek
 
Hdg explains swapfile.sys, hiberfil.sys and pagefile
Hdg explains   swapfile.sys, hiberfil.sys and pagefileHdg explains   swapfile.sys, hiberfil.sys and pagefile
Hdg explains swapfile.sys, hiberfil.sys and pagefile
 
Deu datasheet rev_u
Deu datasheet rev_uDeu datasheet rev_u
Deu datasheet rev_u
 
Common port
Common portCommon port
Common port
 
Cc proxy
Cc proxyCc proxy
Cc proxy
 
4 websites for learning javascript, j query, python, html, and css help des...
4 websites for learning javascript, j query, python, html, and css   help des...4 websites for learning javascript, j query, python, html, and css   help des...
4 websites for learning javascript, j query, python, html, and css help des...
 
Common port
Common portCommon port
Common port
 
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem chào mừng đến ...
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem   chào mừng đến ...Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem   chào mừng đến ...
Hướng dẫn cấu hình hạn chế truy cập internet trên adsl modem chào mừng đến ...
 
Deu datasheet rev_u
Deu datasheet rev_uDeu datasheet rev_u
Deu datasheet rev_u
 
Cc proxy
Cc proxyCc proxy
Cc proxy
 
Recover accidentally deleted files in windows
Recover accidentally deleted files in windows    Recover accidentally deleted files in windows
Recover accidentally deleted files in windows
 
Install .net framework 3.5, 3.0, 2
Install .net framework 3.5, 3.0, 2Install .net framework 3.5, 3.0, 2
Install .net framework 3.5, 3.0, 2
 
Htg explains what is the windows page file and should you disable it
Htg explains  what is the windows page file and should you disable it Htg explains  what is the windows page file and should you disable it
Htg explains what is the windows page file and should you disable it
 
How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...
 

Kürzlich hochgeladen

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Kürzlich hochgeladen (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

How to prevent windows 8 from automatically logging in the last user

  • 1. How to prevent Windows 8 from automatically logging in the last user January 30, 2013 10:10 am / 31 Comments / Sergey Tkachenko If you have multiple user accounts in Windows 8 (e.g. one for yourself and another for your family member), you may notice a new annoyance in Windows 8 - it signs in the last user automatically who shut down/rebooted the PC. Most users would not like to be signed in automatically and would instead prefer seeing a list of users at the logon screen, from where they can choose which user account to login with. Today, we are going to share a way to prevent Windows 8 from automatically signing in the last user. Let's start. Overview In Windows 8, the auto sign in process is controlled via the "Enabled" DWORD value at the following registry key: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUIUserSwit ch
  • 2. If the "Enabled" parameter is set to 1, you will get a list of users instead of the last user automatically getting signed in. A problem however is the behavior of the LogonUI.exe process which resets the "Enabled" value back to zero at every startup, even if you set it manually to 1. Why this behavior is introduced is not known. We need a way to prevent the "Enabled" value from being reset to 0 every time and to set it back to 1 before the next logon so that the list of users is displayed. Here are the steps to do just that. First, make sure that you have disabled the automatic sign in option. Press Win+R keys on the keyboard and type the following: netplwiz Then press Enter. The following window will be displayed:
  • 3. Check the option called "Users must enter a user name and password to use this computer". How to prevent Windows 8 from logging in automatically to the last logged-in user This method is based on Group Policy and uses the Logon/Logoff Scripts feature of Group Policy. It is probably the best way to keep the Enabled value equal to 1 at the end of your Windows session. You must specify reg.exe as script name and 'add HKLMSOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUIUserSwitch /v Enabled /t REG_DWORD /d 1 /f' (without the quotes) as script parameters:
  • 4. GPO After you do this, you will get the user list every time Windows 8 tries to log on. A quite simple trick. But it is not so easy to provide ready-to-use scripts for you for this method because GPO settings are per-user and they are stored in the registry at a path which includes the user's unique SID (S-1-1-164699034-like thing, known as security identifier). On every machine, this SID is unique and different. So I created a tool to automate all the steps with one click. Download my User List Enabler - free, portable tool.
  • 5. User List Enabler Grab it here. It does exactly what I mentioned above - finds the user's SID and adds the necessary registry values, so that you will be able to enable the user account list on the Windows 8 logon screen with one click. How to restore defaults and undo this If you are using Group Policy's Logoff script, simply remove the script. If you used my tool to enable the user list, you can disable it and restore the defaults using 1-click. Thanks to Gaurav Kale which helped me with this research. That's it. Please share with us if you could tweak this behavior in the comments below.
  • 6. User List Enabler Grab it here. It does exactly what I mentioned above - finds the user's SID and adds the necessary registry values, so that you will be able to enable the user account list on the Windows 8 logon screen with one click. How to restore defaults and undo this If you are using Group Policy's Logoff script, simply remove the script. If you used my tool to enable the user list, you can disable it and restore the defaults using 1-click. Thanks to Gaurav Kale which helped me with this research. That's it. Please share with us if you could tweak this behavior in the comments below.