CyberSecurity Guide - Securing Windows 11
CyberSecurity Guide – Securing Windows © TGMDev 2026 · Version 01.0 · Novembre 2026
Author: Thierry Marneffe
Contact: tgmdev@skynet.be
Securing Windows 11 During Installation↑ Back to top
During a standard installation of Windows 11 for home users, Microsoft normally requires you to sign in with or create a Microsoft account before Windows can be set up. This requirement can be bypassed, but doing so involves additional steps that are not covered in this guide.
Windows Password
When you first start the computer, Windows Setup asks for basic settings: display language (English, French, etc.), country, Wi-Fi network, and so on. Next comes the Microsoft account sign-in screen. If you already have an account, enter its email address and password. Otherwise, Setup offers to create a Microsoft account, including a new email address and a password that must be confirmed.
This is where the first layer of Windows sign-in security is established. Your Microsoft account password authenticates you to Microsoft's online services. Microsoft does not store the password in plain text, but retains cryptographic information used to verify it.
Windows PIN (Windows Hello)
After the Microsoft account has been created and verified using its online password, Windows 11 normally asks you to Create a PIN. This provides a second method for signing in: instead of typing your long online password every time, you can sign in using your Windows Hello PIN.
Password vs. Windows Hello PIN↑ Back to top
For most users, Windows sign-in security relies on two different authentication mechanisms:
- The password used to verify your online identity.
- The PIN used to authenticate locally on your computer.
The main difference is that the Microsoft account password is verified by an online service, whereas a Windows Hello PIN is local and tied to a specific physical device.
A four-digit PIN has only 10,000 possible combinations and may therefore appear easy to crack. In practice, however, Windows Hello makes rapid, automated PIN guessing much more difficult than it might seem.
The PIN is never sent over the Internet. A Microsoft account password can be used to sign in from many devices worldwide; if stolen, it may give an attacker access to email, OneDrive, and other account services. A Windows Hello PIN, by contrast, belongs to one computer. It authorizes the use of a cryptographic key protected by the TPM (Trusted Platform Module) when available. The PIN is not sent to Microsoft and cannot simply be reused on a different PC. Even if an attacker learns the PIN, they normally still need access to the associated device to use it.
An attacker with a stolen database of password hashes might test millions of password guesses per second offline. By contrast, a TPM-backed Windows Hello PIN benefits from rate limiting and temporary lockouts (anti-hammering). Testing all 10,000 combinations at high speed is therefore not a practical equivalent attack.
In Summary
An attacker who steals a password may compromise the victim's online accounts from anywhere in the world. A stolen PIN normally cannot be used remotely because it is bound to a particular device. This is one reason Microsoft encourages Windows Hello: it limits the usefulness of a stolen PIN outside the computer itself.
Windows Hello
Each person using the computer can have their own Windows Hello PIN. The PIN is linked to both the user account and the device.
Note: a local account (see Chapter 5) can also use Windows Hello and a PIN. Depending on the device configuration, Windows supports passwords, PINs, and biometric sign-in methods for local accounts as well.
Securing Windows 11 After Installation↑ Back to top
If a PC starts without asking for a password or PIN, it may have been configured with a passwordless local account or with automatic sign-in. This creates a serious security risk when other people can access the computer.
A. Creating a Windows Password
- Click the Windows Start button.
- Open Windows Settings.
- Press Windows + I simultaneously.
- Click Settings in the Start menu.
- Choose Accounts on the left.
- Choose Sign-in Options on the right.
- Expand Password on the right.
- Click Add.
- Enter a new password, then confirm it.
Important!
From now on, the computer will request the saved password at sign-in. It is essential to remember it. The next step, Activating a PIN, provides an additional sign-in method.
B. Activating a PIN (Windows Hello)
- In the same window, expand PIN (Windows Hello).
- Click Add.
- Enter the password created in the previous step to confirm your identity.
- Choose a four-digit PIN and confirm it.
Important note for computers configured for automatic sign-in!
Some technicians configure a Windows password but then use a built-in Windows utility to make the computer sign in automatically without requesting it.
This is a serious security weakness: if the computer is stolen, emails, documents, photos, banking and tax information, browser-saved passwords, and other personal data may be accessible to whoever starts it.
To disable automatic sign-in, follow these steps:
- Press Windows + R to open the Run dialog box.
Note: you can also use Windows Search from the taskbar.
- Type netplwiz and press Enter.
- Check Users must enter a user name and password to use this computer.
Note: the Users must enter a user name and password... checkbox may not appear if Windows is configured to require Windows Hello sign-in for Microsoft accounts. Check Settings → Accounts → Sign-in options → Additional settings to review the option that allows only Windows Hello sign-in.
Do not modify or delete accounts listed in the netplwiz dialog box!
Warning: NEVER delete the computer's administrator account. It is needed to manage the system.
At the next restart, Windows should display a secured sign-in screen requesting a password and/or PIN, depending on the configuration.
User Account Control↑ Back to top
User Account Control (UAC) is a key component of Windows security. It reduces the risk of malware gaining administrator privileges by restricting how and when programs can run with elevated rights.
When an administrator signs in, Windows creates two separate access tokens: a standard-user token and an administrator token.
When a standard (non-administrator) user signs in, Windows creates one access token for that user.
By default, both standard users and administrators normally run everyday applications with standard-user privileges.
Microsoft recommends using a standard account for daily work to improve security.
How User Accounts Improve Security
Consider a computer with administrator account A and standard user account B.
If the session of administrator A is compromised, the attacker initially inherits the rights with which A is running. Because A belongs to the Administrators group, full elevation may be easier: a UAC prompt may require only user consent. If elevation succeeds, the attacker gains administrator privileges.
If account B is compromised, the attacker initially has only standard-user privileges. Windows normally requests administrator credentials (user name and password) before allowing elevated operations. This is why using a standard account for everyday work is recommended.
The safer approach is to use a standard account for everyday activities and elevate privileges with a separate administrator account only when necessary. The practical drawback is that the standard and administrator accounts have separate user profiles.
Practical Drawback
The administrator and standard-user accounts have different Windows profiles. Settings configured in one profile may not be present in the other. Users may believe Windows has lost their settings, an application behaves differently, or desktop icons have disappeared, when the real explanation is simply that they are using another profile.
A Practical Approach to User Accounts
For normal day-to-day use of a Windows 11 computer, the following precautions are practical:
- Keep an administrator account, created during setup.
- Think carefully before approving any administrator elevation request.
- Create separate local user accounts for occasional users, such as children, grandchildren, or visitors.
Separate accounts also help enforce a fundamental cybersecurity rule: never share your passwords!
The same everyday precautions apply whether you use an administrator or a standard account:
- Choose a strong password (appropriate length and complexity).
- Check the URLs of the websites you visit.
- Download software only from official sources.
- Read emails and websites carefully to recognize phishing attempts.
Creating a User Account in Windows 11↑ Back to top
Here is how to create a new user account, step by step:
- Open Windows Settings.
- Click Settings in the Start menu.
- Select Accounts on the left.
- Select Other users on the right.
- Click Add account.
- In the How will this person sign in? dialog box, click I don't have this person's sign-in information.
- In the next dialog box, select Add a user without a Microsoft account.
- Enter a user name and password, then confirm the password.
- Select security questions and provide answers to help recover the account if you forget the password.
- Confirm by clicking Next.
The account now appears under Accounts > Other users.
Checking the New Account Type
- Expand the account entry using the downward arrow.
- Click Change account type.
- Make sure the account type is Standard User.
- If it is not, change the account type to Standard User.
- Confirm with OK.
Deleting an Account
A local account can be deleted later if it is no longer needed.
- Click Remove.
- Confirm by selecting Delete account and data.
When a local account is used for the first time, Windows prepares its user profile. You may need to configure the display language, keyboard layout, and other personal settings.
Identifying the Current User Account↑ Back to top
- Press Windows + R to open the Run dialog box.
- Enter cmd to open Command Prompt.
Alternatively:
- Type cmd in the taskbar search box.
- In Command Prompt, type whoami (Who Am I).
The displayed identifier contains the computer name and the user name.
For example: pcthierry\user.
Warning: NEVER delete the computer's administrator account. It is essential for system management. If you are unsure which account has administrator rights, do not delete any account!
Advantages and Disadvantages of Microsoft Accounts
Unlike a local account, which exists on the computer itself, a Microsoft account links a Windows user identity to an email address and password. Microsoft does not retain the password in plain text; it stores cryptographic information needed for verification. This is broadly similar to using an Apple account on an iPhone or a Google account on an Android phone.
Advantages
The password can be managed online. If you forget your Microsoft account password, you can use another device, such as a smartphone, to visit Microsoft's website, choose Forgot password, and go through the account recovery process. This can help restore access to your Windows account.
With the Find my device feature, you may be able to locate a missing laptop or remotely initiate a device lock. However, this feature must have been enabled beforehand, location services must be available, and the relevant account must meet Microsoft's requirements, including administrator rights for certain actions.
Disadvantages
During initial setup, or after major account changes, an Internet connection may be required.
Microsoft may encourage users to back up their Documents and Pictures folders to OneDrive. If the free storage quota (5 GB) is exceeded, Windows or OneDrive may repeatedly suggest purchasing additional storage.
In summary, a Microsoft account offers online recovery options and additional services compared with a purely local account. In return, the user accepts that their Windows identity is linked to an online account rather than being confined to one physical computer.
Locking Windows 11↑ Back to top
Securing everyday use of Windows involves several mechanisms: sleep mode, screen savers, session locking, and Dynamic Lock. These overlapping options can be confusing.
They are especially important when other people may have physical access to your computer and you want to protect personal information.
Windows 11 provides several ways to lock down access:
- Manual locking (developing the habit of locking your PC)
- The computer is locked manually by the user.
- Inactivity protection (Sleep / Screen Saver)
- Windows tracks inactivity. After a configured delay, it can turn off the display or start a screen saver.
- If the delay is too long (for example, 15 minutes), an unattended computer may remain accessible during that interval.
- It is good practice to configure short display-off and sleep timeouts, then verify that Windows requires authentication when the computer resumes.
- Physical-presence protection (Dynamic Lock)
- Windows monitors the Bluetooth connection to your paired smartphone. When the phone moves far enough away and the connection is lost, Windows can lock the computer automatically, typically within about a minute.
- This provides a useful safety net for people who sometimes forget to lock their session when stepping away for a coffee.
Manually Locking Windows 11↑ Back to top
Manual locking is the quickest and easiest method, but it requires a consistent habit.
To lock the computer, press Windows + L simultaneously (L for Lock).
Source: https://fr.wikipedia.org/wiki/Fichier:Belgian_pc_keyboard.svg (modified image)
With Windows + L, Windows immediately locks the session and displays the lock screen. Authentication is required before the user can return to the session.
Securing Windows 11 Against Inactivity↑ Back to top
Available Security and Power Options
Several options are available:
- Do nothing: not recommended for security.
- Sleep: commonly used when closing a laptop lid.
- Hibernate: saves the computer's state to disk for a low-power shutdown.
- Shut down: commonly configured for the power button.
- Turn off the display.
Configuration Procedure
- Open Windows Settings.
- Press Windows + I, or
- Click Settings in the Start menu.
- Click System on the left.
- Click Power & battery on the right.
- Expand Screen, sleep & hibernate timeouts (wording may vary by Windows version).
- Set how long Windows should wait before turning off the display or putting the computer to sleep, both on battery power and when plugged in.
Using the recommended timeouts is a good starting point. You can adjust them later to suit the way you use your computer.
Note: On a laptop, the page includes also the settings when running on battery.
- On the same page, expand Power button and lid controls.
- Choose the actions to perform when pressing the power button or closing the laptop lid.
Similarly, on a laptop, the page includes also the settings when running on battery.
Depending on the Windows configuration, some settings may be greyed out. This can be caused by account permissions, security policies, or Windows Hello settings.
Requiring authentication after sleep is a sign-in setting associated with the user account currently in use.
- In Windows Settings, select Accounts on the left.
- Click Sign-in options on the right.
- Under Additional settings, review If you've been away, when should Windows require you to sign in again?
Some changes may require signing out and back in, or occasionally restarting Windows.
Once the new settings are active, Windows requests authentication when the computer wakes from sleep, helping protect access to the Windows 11 device.
Configuring the Windows 11 Screen Saver↑ Back to top
Historically, Windows screen savers were designed to reduce image burn-in on CRT monitors. This is no longer necessary for most modern displays. Screen savers remain mainly for decoration or personalization. To save energy, turning off the monitor or putting the computer to sleep is generally preferable.
For security, the more important settings are:
- Turn off the display.
- Put the PC to sleep after a reasonable period of inactivity.
- Require sign-in when the PC wakes up.
Screen savers can still be enjoyable, however, with geometric animations (3D shapes, intertwined lines, fractals, etc.) or slideshows of personal or predefined photos.
Configuring a Screen Saver
To enable a screen saver, follow these steps:
- Open Windows Settings.
- Press Windows + I simultaneously.
- Click Settings in the Start menu.
- Choose Personalization on the left.
- Click Lock screen on the right.
- Click Screen saver under Related settings.
- Choose a screen saver and set the waiting time before it starts.
You can also enable On resume, display logon screen so that Windows asks the user to sign in after the screen saver is dismissed by moving the mouse or using the keyboard.
Screen saver settings and power settings are independent. When several timeouts are configured, Windows performs the actions as their respective delays expire. To avoid confusing behavior, it is generally better to rely on modern power and locking settings for security and to keep screen savers mainly for visual enjoyment.
CyberSecurity Guide – Securing Windows © TGMDev 2026 · Version 01.0 · Novembre 2026
Author: Thierry Marneffe
Contact: tgmdev@skynet.be
































