Create windows 10 boot disk on almost any linux host

Mount the ISO: sudo mount -t udf -o loop,ro,unhide /path/to/file.iso /mnt Insert the USB drive. Run fdisk and specify the device name of the USB drive; for example: sudo fdisk /dev/sdc Delete any existing partition table and create a new one. Create a new partition of at least 4.5 GB. Mark it bootable and set…

Controlling windows system from a Linux box.

Set up winexe. wget "ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/GRNET:/synnefo/CentOS_CentOS-6/x86_64/winexe-1.00-9.1.x86_64.rpm" yum install winexe-1.00-9.1.x86_64.rpm   Test the connection <pre>telnet 10.0.0.123 139</pre> Now we can try the system out winexe -U "User 1" –password=secretpassword //10.0.0.123 'cmd /C "whoami"' If you get : ERROR: Failed to open connection – ERRDOS:ERRnomem then it’s probably a Windows 7 box run reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management"…

Listing SIDs in Windows

In windows (again I know …. ) sometimes you get reference to removed users ( and sometimes not so removed) Β in mmc and secpol looking like this : S-1-5-21-123456789-3881959548-123456789-500 To check the SIDs of users for some obscure bug like I had today use: wmic useraccount get name,sid That’s it .. ( ofcourse you can…

Check if Windows Drive exists

In windows (yes I know) you can check if a drive exists by using IF EXIST E:\NUL echo yep it does .. that’s it . nJoy πŸ˜‰  

Vmware Client Automating connections

This is a hint from Andrew Thanks..     C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe -i yes -s 10.21.68.8 -u root -p password   Works ! In a batch: start “VMLauncher” /D”C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\” VpxClient.exe -i yes -s 10.21.68.8Β -u root -p password”   Thanks nJoy πŸ˜‰