Archive for the 'Windows' Category


Windows command to turn off and on wifi

Oct 01, 2013 in Microsoft, Windows


netsh interface set interface “Wireless Network Connection” Disable

netsh interface set interface “Wireless Network Connection” Enable

Translate Windows Registry binary export to text ..

Mar 17, 2012 in Microsoft, Windows

>> Need to translate this :

W i n d o w s R e g i s t r y E d i t o r V e r s i o n 5 . 0 0

[ H K E Y _ L O C A L _ M A C H I N E ]

[ H K E Y _ L O C A L _ M A C H I N E \ B C D 0 0 0 0 0 0 0 0 ]

[ H K E Y _ L O C A L _ M A C H I N E \ B C D 0 0 0 0 0 0 0 0 \ D e s c r i p t i o n ]
” K e y N a m e ” = ” B C D 0 0 0 0 0 0 0 0 ”
” S y s t e m ” = d w o r d : 0 0 0 0 0 0 0 1
” T r e a t A s S y s t e m ” = d w o r d : 0 0 0 0 0 0 0 1

>> To this:

Windows Registry Editor Version 5.00





>> To translate use this :

cat RegHLM1.reg | sed ‘s/\o0//g’ > RegHLM1.txt

Vista: Disable Data Execution Prevention (DEP)

Jun 08, 2009 in Windows


1. Open command shell with ‘Run as administrator’

2. Run command:

bcdedit.exe /set {current} nx AlwaysOff

3. Response should be:

The operation completed successfully.

Program for scripting Windows Device Manager functions..

Oct 10, 2008 in Microsoft, Windows

To unmount a USB memory stick from a batch (or some other)
script in Windows, use the DevCon utility here:

Activate Vista administrator account ..

Sep 26, 2008 in Windows


  1. Logon to Vista using your usual account.
  2. Launch the cmd prompt – Make sure you select, ‘Run as administrator’
  3. Net user administrator p@ssw0rD
  4. Net user administrator /active:yes
  5. Switch User, or logoff
  6. Logon as Administrator Password p@ssw0rD

Microsoft Installer related problem..

Apr 30, 2007 in Microsoft, Windows

A friend of mine had a problem with a program trying to install continuously. Coupled with this, the .Net 1.1 framework seemed to have a few corrupted DLLs.

When I tried to uninstall .Net, I would get this error:

Another installation is already in progress

Info on the net pointed to the Microsoft Installer Cleanup Utility (msicuu) available here

After unzipping the package, I used the MsiZapU.exe program from the command line with the “P” option. This removed all “pending” installations. The command looked like this:

C:\Software\msicuu2>MsiZapU.exe P
MsiZapInfo: Performing operations for user
Searching for the Windows Installer InProgress key. . .

A very helpful blog pointed me to another utility used to clean up .Net installations. The blog is here

The utility is in a zip named and it can be found here

(or search for it.. it seems to appear in a few places..)