To run (Windows, Linux) from a USB stick, the first thing you need to do is insert a USB stick with at least 2GB of free space into your PC.
And follow these commands:
1) You need to run a command prompt as administrator.
Start | type cmd | Right-click cmd (top of menu) | Run as Administrator.
or: "win+R" type
cmd, and switch to admin:
runas /user:(username) cmd enter password to run cmd as admin.
diskpart run Diskpart to prepare the disk for the OS.
liste disk: this will show you a list of the disks on your system. Make sure to identify your USB disk number
select disk x the 'x' should be replaced by the the USB disk number.
clean for a quick format of the USB disk.
create partition primary will create a primary partition on the disk.
active to make the partition active
format fs=fat32 quick a quick format to the disk and sets it up as a FAT32 formatted drive.
assign this command will assings the next drive letter to the drive.
Once the USB drive has been prepared, you can copy and past the content of your OS from the ISO (don't forget to copy the hidden files) or you can use a 7-zip to extract the iso directly to the drive.
(!) please comment below for any clarifications