Run a command as admin

runas /profile /user:%COMPUTERNAME%\Administrator d:\command.cmd

Windows 10:

Windws Server KVM image:

bitsadmin.exe /transfer "JobName" C:\destination\

Open a folder when Windows exporer started

c:\windows\explorer.exe /root, d:\MY_FAVORITE_FOLDER

Cleanup user temp

del /S /Q "C:\Dokumente und Einstellungen\xp\Lokale Einstellungen\Temp\*.*"

To run automaticly on login create a *.bat file an a shortcut in user autostart folder

Enable autologin
Start > open > control userpasswords2

WinSCP Portable - Free SFTP, FTP and SCP client for Windows
CDBurnerXP - ...burn CDs and DVDs for free!
PuTTY - Telnet and SSH client - Freeware Access Tool for mobile Interne


IF NOT %username% == user1 (
   echo non_user1
) ELSE (
   echo user1

# Word Custom Dictionary
C:\Documents and Settings\Owner\Application Data\Microsoft\Proof

OpenVPN connection from command line

runas /u:Administrator "c:\Programme\OpenVPN\bin\openvpn-gui.exe --config_dir R: --connect VPN1%USERNAME%-TO-IPCop.ovpn"

Putty - PuTTY Manager
Convert PuTTY public key from to openssh format:

ssh-keygen -i -f >
ssh-dss AAAA...o=


ipconfig /all
<Host Name> + <Primary DNs Suffix>


netsh interface ip add address "Ethernet"
route ADD MASK 


Windows Subsystem for Linux

Detailed memory usage information

Create USB boot disk from iso

Connect from Linux to Windows desktop by RDP

rdesktop -z -g 1280x1024 -u "DOMAIN\USER" -p <PASS1234> -r disk:share=/tmp <SERVER>

Microsoft SQL Server Management Studio Express


# enable
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow
# disable
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=block

Native SSH client under Windows 10

/dism /online /Add-Capability /CapabilityName:OpenSSH.Client~~~~
/dism /online /Get-Capabilities | findstr /i openssh

Create USB boot disk

sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo apt update
# wget
# sudo dpkg -i libwxgtk3.0-0v5_3.0.4+dfsg-12_amd64.deb
sudo apt install -y woeusb
#fdisk /dev/sdc
#mkfs.ntfs /dev/sdc1
#sudo woeusb --device Win10_1709_German_x64.iso /dev/sdc1
# create Windows 10 boot USB disk
sudo umount /dev/sdc?
sudo woeusb --target-filesystem NTFS --device Win10_2004_German_x64.iso /dev/sdc


Port forword
source port: 8080
destination: localhost:8080


Windows Answer File Generator (autounattend.xml)

Password reset

# boot linux live CD
mount /dev/sda3 /mnt
cd /mnt/Windows/System32
mv Utilman.exe
mv cmd.exe Utilman.exe
# boot windows
net user XXX *

Command line
Environment Variables
The KiXtart free-format scripting
KiXtart examples - bootdisk to reset windows password - applications update check - Norton Ghost Explorer (Open gho files under Linux and Wine) - Adobe CS2 Downloads - CCleaner - find and remove double files - Phone-Konfigurationsprogramm