How to easily create Windows 7 bootable USB drive

The other day I needed to setup a bootable USB drive for Windows 7 and I really was not looking forward to it as it was always big pain to do it. However times changed and now even Microsoft provides tool how to migrate their installation ISO onto a USB drive - use this tool "Windows 7 USB/DVD Download tool" (original site mirror). The process is pretty straightforward - you select the ISO, choose to put it onto a particular USB drive and click next. I've successfully installed a bunch of PCs Read more [...]

How to start an application with administrator privileges using the batch file

The other day I needed a script to launch an application from command line with elevated privileges on my Windows 7, or to be more precise - to be given choice to run it as a particular user which does have the administrator privileges. After googling around I found this nice piece of code: @echo off :: Get ADMIN Privs :------------------------------------- mkdir "%windir%\BatchGotAdmin" if '%errorlevel%' == '0' ( rmdir "%windir%\BatchGotAdmin" & goto gotAdmin ) else ( goto UACPrompt Read more [...]

How to create a 1 GB file on Windows

Some while ago I wrote a how-to for the Debian. Yesterday I needed to do the same thing on Windows - create 1 GB file. Here is how it's done: fsutil file createnew <1GB_file.bin> <1073741824> <1GB_file.bin> is the filename, name it whatever you prefer <1073741824> stands for size in bytes, Google might come in handy 🙂 Obviously it's good idea to run it from the command line 😉 Credit goes to Patrick Cuff @ - Thx! Read more [...]

How to get rid of “Open File – Security Warning” every time you open something from LAN in Windows 7 or Windows Server 2008 R2

I've been sick and tired to see every time I open something from my LAN: "Open File - Security Warning" and then I had to click "Run". How stupid - average user will not even read it and won't click "Cancel". Anyway here is how to fix it: create file regdata_fix.reg and add into it: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Associations] "LowRiskFileTypes"=".avi;.bat;.com;.cmd;.exe;.htm;.html;.lnk;.mpg;.mpeg;.mov;.mp3;.msi;.m3u;.rar;.reg;.txt;.vbs;.wav;.zip;.chm;" Now Read more [...]