bypass the Microsoft Account requirement during Windows setup

bypass the Microsoft Account requirement during Windows

bypass the Microsoft Account

Every few years, Microsoft is making it more difficult to create a local account during setup of the Windows operating system.

I described one option in How to use local accounts on Windows 11 version 22H2 devices. While written for that specific version, the described method works in other versions of Windows 11 as well.

The following two methods do not require a Microsoft account at all.


This bypass is the easiest option right now, as it requires just a few steps during setup to skip the Microsoft account creation.

Here is how it works:

  1. Disable the Internet connection before starting setup, e.g., by disconnecting the LAN cable or disabling Wi-Fi.
  2. Windows will display a “Let’s connect you to a network” or similar screen. The upcoming Windows 11 version 22H2 does not allow you to skip this anymore to create a local account.
  3. On the screen, use Shift-F10 to open a command prompt window.
  4. Type OOBE\BYPASSNRO and hit the Enter-key.
  5. Windows will reboot and return to the “Let’s connect you to a network” screen. Only this time, you may select “I don’t have Internet” to skip this.
  6. Then you select “Continue with limited setup” to then create a local account during setup.

Bypass 2: Use a banned email address

Microsoft has banned email addresses that were used too often in the account creation process. You may use this to your advantage, as it allows you to skip the Microsoft account creation or sign-in phase during setup.

Here is how this method works (thanks Neowin):

  1. Select Sign-In when asked to create or sign-in to a Microsoft account during setup.
  2. Use the email address
  3. Type any password on the next screen.
  4. Windows will display “Oops, something went wrong” on the next screen.
  5. Clicking Next opens a screen that allows you to create a local account.
  6. You can assign a password to the account, or leave it empty.


Clear Windows Event Viewer Logs

Clear Event Viewer Logs

how to erase the log files

Way 1. Clear All Event Logs in Event Viewer

Step 1. Press Win + R keys to open the Run dialog box, and then type eventvwr.msc in it and hit Enter.

open Event Viewer via the Run box

Step 2. Expand the Windows Logs category from the left sidebar, and then right-click a log (ex: Application) and select Clear Log.

select Clear Log in Event Viewer

Step 3. Click on Clear in the pop-up confirmation window.

click on Clear in the Event Viewer window

Here’s how to clear all event logs Windows 11. Also, you can try the following 4 methods.

Way 2. Clear Event Logs Using Command Prompt

Step 1. Type cmd in the search box, and then right-click the Command Prompt from the top result and select Run as administrator. Then click on Yes in the UAC window to confirm it.

open an elevated Command Prompt window

Step 2. In the elevated Command Prompt, type the following command and hit Enter.

for /F “tokens=*” %1 in (‘wevtutil.exe el’) DO wevtutil.exe cl “%1”

clear all event logs using the elevated Command Prompt

Once you clear all event logs Windows 11, you can close the Command Prompt window.

Way 3. Clear Event Logs Using Windows PowerShell

In addition to using Command Prompt, Windows PowerShell can help you clear event logs in Windows 11/10. Here’s how:

Step 1. Type powershell in the search box, and then right-click Windows PowerShell from the top result and select Run as administrator. Then click on Yes in the UAC window.

Step 2. In the elevated PowerShell window, type the following command and hit Enter to clear all event logs. Once done, close Windows PowerShell.

Get-EventLog -LogName * | ForEach { Clear-EventLog $_.Log }

clear event logs via Windows PowerShell

Way 4. Clear Event Logs Using a BAT File

You also can clear event logs in Windows 11/10 directly using a BAT file. For that:

Step 1. Clear here to download the Clear_Event_Viewer_Logs.bat file and save it to your desktop.

Step 2. Double click the bat file and click on Run in the pop-up window to unblock the file.

Step 3. Right-click the .bat file and select Run as administrator. Click on Yes if you are prompted by UAC. After that, an elevated Command Prompt will start clearing the event logs. Once finished, the Command Prompt window will automatically close.

run clear event logs bat file as administrator

How to clear all event logs Windows 11/10? The top 4 methods have been illustrated. Now, it’s your turn to have a try.

thanks to:

mx records cmd windows command line

mx records cmd windows command line

To use NSLOOKUP to view MX records:

  1. Open a command prompt.
  2. Type “nslookup” then press Enter.You will see the following:Default Server: <FQDN of your server>
    Address: <server IP address>
  3. Type “set type=mx” then press Enter.
  4. Type the domain name that you want to look up, then press Enter.The MX records of that domain will appear.

Clean MBR Partition Table with CMD

Remove clean MBR Partition Table via CMD command Prompt

To run Diskpart, you need to first open Command Prompt. Press Windows + R key combination to start Run box. This will take delete internal hard disk MBR partition for example.

  • Type “diskpart” in Run box and press Enter. Please run CMD as administrator.
  • Type “list disk”
  • Type “select disk X”. X is the disk number you want to convert.
  • Type “clean”. This will delete all partitions or volumes on the disk.
  • Type “convert gpt”.
  • Type “exit” to exit the Command Prompt

Reset Windows 10 password without utilman.exe

  • Boot from the Windows installation disk/USB stick with Windows setup.
  • Wait for the “Windows Setup” screen:
Windows 10 setup screen

  • Press Shift + F10 keys together on the keyboard. This will open the command prompt window:
  • In the command prompt, type regedit and press the Enter key. This will open Reg Editor
Windows 10 setup run regedit
  • Select HKEY_LOCAL_MACHINE key on the left.
  • After you select it, run the File -> Load Hive… menu command.
Windows 10 file load hive
  • In the load hive dialog, select the following file:
  1. Enter any desired name for the hive you are loading. For example, I gave it a name 111:
  2. Go to the following key:HKEY_LOCAL_MACHINE\111\Setup
Windows 10 file named loaded hive
  • Edit the cmdline parameter and set it to cmd.exe
Windows 10 edit cmdline parameter
  • Change the SetupType DWORD parameter value to 2.
Windows 10 edit setuptype parameter
  • Now select 111 on the left and run the File -> Unload hive menu item in Regedit.
Windows 10 unload hive
  • Close Registry Editor and all open windows.
  • Reboot Windows and you will see the following command prompt at boot:
Windows 10 password reset mode
  • Type “net user”
  • Use the a current administrator account to reset password with the following command:
  • net user ‘username’ ‘newPassword’
  • e.g. net user chris apples123
  • Type “regedit” to open Regisry Editor.
  • Go to the following key:HKEY_LOCAL_MACHINE\System\Setup
  • Edit the cmdline parameter and set it to the empty value.
  • Change the SetupType DWORD parameter value to 0. See this screenshot:
Windows 10 reset registry values
  • Close that off and reset the power on the PC and next time you log in with that account use your new password.

Source ”

Call Now Button