Enable Automatic Logon on Windows 10 via AutoLogon.exe

AutoLogon provides the means to configure Windows built-in auto logon. Here the user does not need to enter his username and password, the systems (windows) automatically make use of the credentials entered in the AutoLogin and this is worth noting that this is encrypted in the Registry.

This can be done using the registry and User Account. See the link on how this is done via the registry https://techdirectarchive.com/2020/01/18/enable-automatic-logon-on-windows-10/

This tool is relatively easy to use, here are the steps in configuring the AutoLogon – Download the Tool https://docs.microsoft.com/en-us/sysinternals/downloads/autologon
– Extract the zipped file

– Run the Autologon.exe

– Fill in the details in the windows displayed

– And Select the Enable functionality and if successful, the dialog (window) below will be thrown.

Note: After this step, restart the system and it will logon automatically to the domain using the user account and password created. To verify this further a bit, launch the command prompt and type “whoami
This will display the domain and the username currently logon to the account.

See the following link for more tools available in the Sysinternals suite https://techdirectarchive.com/2020/01/25/windows-sysinternals-tools-psexec-and-auto-logon/

The following error occurred attempting to rename the computer – Account already exist

For many reasons, you may want to rename your device (VM) and you will be prompted with the following error. This could be a result of the organization’s policies not adhered to but not limited to this alone.

The solution to fixing this issue is by simply removing the device from the Domain and rejoining. Simply trying to rename it will NEVER work. Follow the following steps

– Under Advanced System settings
– Click on change

Select Workgroup and enter the name in the Workgroup area

Enter your credentials to confirm

If you have the right credentials to perform this action, it will end up successfully.

After prompting the above dialog box, it will prompt you to restart

– Click on Ok
– Close all dialog boxes and Click on restart Now

After the restart, you can now rejoin the device to the domain
– Under Advanced System settings
– Click on Change settings

– Enter the right domain name

Enter your credentials to complete the process.

After successfully joining it to the domain, you will get a welcome message.

Windows Administrative Shortcut

Here are some vital shortcuts in accessing some Windows Server services. For all the examples below, these can be accessed by
– clicking on start menu and then
– select run,
– and enter the shortcut as shown below to have the service accessed.

With Firewall with Advanced Settingswf
Server Managerservermanager
Group Policy Managementgpmc.msc
Active Directory Domain and Trustdomain.msc
Active Directory Administrative Centerdsac.msc
Active Directory User and Computersdsa.msc
Windows Server Backupwbadmin
DHCP Managementdhcpmgmt.msc
DNS Managementdnsmgmt.msc
Certificate Authoritycertsrv.msc
Active Directory Sites and Servicesdssite.msc

Failure Reasons for Windows Event Viewer

Having to deal with network errors and user logon errors day in day out, I decided to make a compilation of all relevant errors that are associated with the event logs.

0XC0000413Logon Failure: The machine you are logging onto is protected by an authentication firewall. The specified account is not allowed to authenticate to the machine.
0XC0000224user is required to change password at next logon
0XC00000DCIndicates the Sam Server was in the wrong state to perform the desired operation.
0XC000006DThis is either due to a bad username or authentication information
0XC0000192An attempt was made to logon, but the netlogon service was not started.
0XC000006DThis is either due to a bad username or authentication information
0XC000005EThere are currently no logon servers available to service the logon request.
0XC000006EUnknown user name or bad password.
0XC000006EUnknown user name or bad password.
0XC0000193account expiration
0XC000006EUnknown user name or bad password.
0XC000006DThis is either due to a bad username or authentication information
0XC000006DThis is either due to a bad username or authentication information
0XC000018CThe logon request failed because the trust relationship between the primary domain and the trusted domain failed.

Also got some helpful answers from Gabriele Oleotti  on these errors

Handy Microsoft DOS Commands Used with Shutdown

Here i will be discussing day to day vital Microsoft Commands needed to operate and administer any Windows Environment ranging from Windows Server, 2008, 2012, 2016 and 2019.

Here are some switches associated with Windows regardless of the environment. I will be discussing a few.

Shutdown: The shutdown command allows you to shutdown your PC or Server as the name implies. This will ensure windows initiates the shutdown of the server and same process is followed as shutting down via the UI. The Switches below can be used with the shutdown command.

Syntax Usage: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/f] [/m computer][/t xxx][/d]
Run the shutdown command from windows as shown here for the options and explanations too

Let’s explain what these switches are in details. Note, some systems can let us use (-) switches or (/). This depends on the version of your system.

switchesSyntax Description
/iDisplay the graphical user interface (GUI).
This switch must be the first option.
/lLog off. Note: The /l switch cannot be used with /m or /d options.
/sShutdown the computer.
/rFull shutdown and restart the computer.
/gFull shutdown and restart the computer.
/aAbort a system shutdown. But can only be used during the time-out period.
/pTurn off the local computer with no time-out or warning. Can be used with /d and /f options.
/hHibernate the local computer. Can be used with the /f option.
/hybridPerforms a shutdown of the computer and prepares it for fast startup.
Must be used with /s option.
/eDocument the reason for an unexpected shutdown of a computer.
/oGo to the advanced boot options menu and restart the computer.
Must be used with /r option.
/m computerSpecify the target computer.
/t xxxSet the time-out period before shutdown to xxx seconds. The valid range is 0-315360000 (10 years),
/c Comment the reason for the restart or shutdown.
/fForce running applications to close without forewarning users. The /f parameter is implied when a value greater than 0 is specified for the /t parameter.
/dProvide the reason for the restart or shutdown.

Here are some are examples of how these syntaxes are used.

shutdown /r /c "Rebooting for after windows updates."

This command display a Windows system shutdown window about 30 seconds prompting the user that the computer is going to shutdown and then restart the computer

shutdown /s /m PCtest /t 10

This command will shut down remote Server “PCtest” after 10 seconds.

For other older switch (-) usage, Please the examples below.

shutdown -s (Shuts down)
shutdown -r (Restarts)
shutdown -l (Logs off)
shutdown -h (Hibernates)
shutdown -i (Interactive mode". Instead of performing an action, it displays a GUI dialog)
shutdown -a (Aborts a previous shutdown command)
shutdown -t 0 -r -f (Force an immediate reboot:)
shutdown -t 30 -r (For a more friendly "give them some time)

How to fix ”Err_Connection_Timed_Out Error’

Open command prompt on Windows and run the following commands below.

The commands are vital in releases and renewing your IPs. In the future, I will more on these commands

ipconfig /flushdns
ipconfig /release
ipconfig /registerdns
ipconfig /renew

Also refer to

How to forcefully kill a program in Windows

Run the following command with the relevant switches as stated below, the enter the PID.
– This can be found from the Task Manager

taskkill /f /pid [PID]