Download
Windows 10: https://www.microsoft.com/en-us/software-download/windows10
Windows 11: https://www.microsoft.com/de-de/software-download/windows11
Create USB boot disk
https://github.com/WoeUSB/WoeUSB/releases/
https://github.com/WoeUSB/WoeUSB-ng
sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin parted dosfstools ntfs-3g sudo pip3 install attrdict WoeUSB-ng # old #apt install -y wimtools #wget https://github.com/WoeUSB/WoeUSB/releases/download/v5.2.4/woeusb-5.2.4.bash -O /usr/bin/woeusb #chmod a+x /usr/bin/woeusb # old sudo add-apt-repository -y ppa:nilarimogard/webupd8 sudo apt update # wget http://security.ubuntu.com/ubuntu/pool/universe/w/wxwidgets3.0/libwxgtk3.0-0v5_3.0.4+dfsg-12_amd64.deb # 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/sdb #sudo woeusb --target-filesystem NTFS --device Win10_20H2_v2_German_x64.iso /dev/sdb #sudo woeusb --target-filesystem NTFS --device Win11_22H2_German_x64v1.iso /dev/sdb wget https://github.com/WoeUSB/WoeUSB/releases/download/v5.2.4/woeusb-5.2.4.bash chmod +x woeusb-5.2.4.bash sudo Downloads/woeusb-5.2.4.bash --target-filesystem NTFS --device Win11_22H2_German_x64v2.iso /dev/sdb # copy autounattend.xml cp dev/windows/autounattend.xml /media/${USER}/Windows\ USB/
autounattend.xml files for Windows 10/11
https://schneegans.de/windows/unattend-generator/
Commands
Run a command as admin
runas /profile /user:%COMPUTERNAME%\Administrator d:\command.cmd
Windws Server KVM image: https://cloudbase.it/windows-cloud-images/#download
bitsadmin.exe /transfer "JobName" http://www.example.com/file.zip C:\destination\file.zip
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
Programs
WinSCP Portable - Free SFTP, FTP and SCP client for Windows
CDBurnerXP - ...burn CDs and DVDs for free!
PuTTY - Telnet and SSH client
http://www.mwconn.com/deutsch.html - Freeware Access Tool for mobile Interne
http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm
Batch
IF NOT %username% == user1 ( echo non_user1 ) ELSE ( echo user1 )
Word
# 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
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
https://sourceforge.net/projects/puttymanager/ - PuTTY Manager
Convert PuTTY public key from to openssh format:
ssh-keygen -i -f id_rsa.pub > id_rsa2.pub ssh-dss AAAA...o= foo@example.com
Hostname
ipconfig /all <Host Name> + <Primary DNs Suffix>
Routing
netsh interface ip add address "Ethernet" 10.0.3.23 255.255.255.0 route ADD 10.0.3.0 MASK 255.255.255.0 10.0.3.1
Downloads
http://mobaxterm.mobatek.net/download.html
Windows Subsystem for Linux
https://msdn.microsoft.com/en-us/commandline/wsl/install_guide
Detailed memory usage information
https://docs.microsoft.com/de-de/sysinternals/downloads/rammap
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
https://www.microsoft.com/en-US/download/details.aspx?id=7593
Ping
# 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~~~~0.0.1.0 /dism /online /Get-Capabilities | findstr /i openssh
Create USB boot disk from iso
https://rufus.akeo.ie/
RDP
mstsc
Port forword
https://blog.devolutions.net/2017/4/how-to-configure-an-ssh-tunnel-on-putty
source port: 8080
destination: localhost:8080
LiveCD
https://www.hirensbootcd.org/download/
Windows Answer File Generator (autounattend.xml)
https://www.windowsafg.com/win10x86_x64_uefi.html
Password reset
https://www.youtube.com/watch?v=V_M_Ss5jUlg
# boot linux live CD sudo ntfsfix /dev/sda3 mount /dev/sda3 /mnt cd /mnt/Windows/System32 mv Utilman.exe Utilman.exe.org mv cmd.exe Utilman.exe # boot windows net user XXX *
Links
Command line
Environment Variables
The KiXtart free-format scripting
KiXtart examples
http://home.eunet.no/pnordahl/ntpasswd/ - bootdisk to reset windows password
http://www.heise.de/security/dienste/Der-Scan-869077.html - applications update check
ftp://ftp.symantec.com/public/english_us_canada/products/symantec_ghost_solution_suite/2.5/updates/Ghostexp-B1597.zip - Norton Ghost Explorer (Open gho files under Linux and Wine)
https://www.adobe.com/cfusion/entitlement/index.cfm?loc=de&e=cs2_downloads - Adobe CS2 Downloads
http://www.piriform.com/ccleaner - CCleaner
http://www.aidex.de/software/antitwin/ - find and remove double files
http://support.apple.com/kb/DL1466?viewlocale=de_DE - Phone-Konfigurationsprogramm