Windows Autologin

If you have only one user on your Windows machine and do not want to type in your password at startup or you do not use a password at all, you can add the following to your registry so the startup is a little bit faster.

Copy and paste this into a textfile and name it autologin.reg (make sure it is not named autologin.reg.txt or something else)

If you are not in a domain or do not use a password you can ommit the lines with these options.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon]

Quick Admin Check with Version info for Windows in Batch

A little script which checks for your Version and also tells you if you have Admin rights or not.

@echo off

rem ***************************************
rem Info:
rem ***************************************

ver | findstr "DOSBox version 0.72. Reported DOS version 5.0.">nul && echo DOSBox
ver | findstr "Windows NT. Version 4.0">nul && echo Windows NT
ver | findstr "Microsoft Windows 2000 [Version 5.00.2195]">nul && echo Windows 2000
ver | findstr "Microsoft Windows XP [Version 5.1.2600]">nul && echo Windows XP
ver | findstr "Microsoft Windows [Version 5.2.3790]">nul && echo Windows Server 2003 or XP 64bit
ver | findstr "Microsoft Windows [Version 6.0.6001]">nul && echo Windows Vista
ver | findstr "Microsoft Windows [Version 6.0.6002]">nul && echo Windows Server 2008
ver | findstr "Microsoft Windows [Version 6.1.7600]">nul && echo Windows Server 2008 R2 or Windows 7 SP0
ver | findstr "Microsoft Windows [Version 6.1.7601]">nul && echo Windows 7 SP1
ver | findstr "Microsoft Windows [Version 6.2.9200]">nul && echo Windows 8

(mkdir %windir%system32test 2>nul && rmdir %windir%system32test) || goto error
echo User has admin rights
goto End

echo User has *NO* admin rights
goto End



Windows Commandline (Batch) loading function

To make a “nice” loading screen in the Windows commandline (batch) you can use this script. It shows a textmessage while having a spinning bar on the left until you create a folder named C:tempspinner.

As you can see there are special characters inside this script which are backspaces. In a HEX Editor it looks like this

These are HEX 0x08 characters which you can’t find on your keyboard, but can type in with a HEX Editor. You can also copy the characters in notepad if you do not want to install a HEX Editor.

Be aware that this function only goes back a character, but does not delete it. If you want so you can add 79 spaces after the backline to do so. (If you took 80 spaces, the horizontal length of the commandline, it makes a carriage return where you can’t go back up again)

Download Batch-Loading-Script