How to Create A Bootable Windows 7 Installation USB from Linux

Thanks to Gunthers at serverfault, I was able to create a USB and start the Startup Repair tool from there to repair my Windows 7 boot.

Probably the only thing you need to know is how to make the USB bootable as I assume you know that you need an NTFS partition on the USB including the installation files (copied over from a DVD or a backup ISO file).

Well, after all that pretty regular stuff, you need to grab ms-sys from here and install it to be able to write Microsoft compatible boot records. (It could also exist in your repositories, so do a check first if you want with your favorite package management tool. (e.g. apt-get, aptitude, yum etc.)

To write a Windows 7 MBR onto the USB device; just do a

Read the rest of this entry »

God Mode in Windows

Open a command line and write this: “godmode on”. Ah, ok, not that easy.

First things first, what is this “god mode”? Well, it is basically a handy way to access all Windows settings without opening up folders or options in Control Panel.

Read the rest of this entry »

Quick way to export the list of installed applications on a Windows system

Well, yeah, there are many applications for this which give you this information in a much better way, but assuming you don’t want to find them, or just maybe don’t have any internet connection; the easiest thing to do would be to export this registry key below:

Read the rest of this entry »

How to hide/show Messenger Plus! ‘contacts on desktop’ based on a hotkey

Earlier today, I’ve made another post doing something very similar to this one. You can have a look at it here.

We are going to do the exact same thing actually, but this time, you will be able to use the code that I’m giving without any modification.

Read the rest of this entry »

How to hide/show a specific Sidebar gadget on Windows based on a hotkey

Well, we will write a little code first. If you are not scared by that fact, go and install AutoIt. It is a great scripting language for Windows. It saves the day when you just want what you want to be accomplished and not worry about anything else. Anything that comes up to your mind, first check this thing, if you cannot find it, or it is limited in some sense, only then try implementing it wholly by yourself. Fortunately, what we are going to do is actually quite basic, so it has all that we need.

Here is my code for hiding and showing the ToDo gadget based on a hotkey.

Read the rest of this entry »

Change display language of a non Ultimate/Enterprise version of Windows Vista

So.. if you are here, you probably bought your laptop from a country different from the one you are originating from and want to change it to your local language.

Hmm.. So you google a bit and realize that you can’t do that unless you are using an Ultimate/Enterprise version of Vista. Well, there is an unofficial way to achieve your aim.

Note: This probably violates the EULA of Microsoft, so carry on at your own risk.

Read the rest of this entry »

Rapidshare Link Checker in C# – Source Code

I’ve created a simple validity checker desktop application for Rapidshare links.

I am giving out the source code and the binary, in case anyone is interested.

Read the rest of this entry »

Enable/Disable /Change IE Proxy by script/programmatically

Ok. You know the drill, you need to use the company’s proxy server at work and at home you don’t need a proxy server.(or you use another one)

Well, do you really want to open up IE and go into Tools->Internet Options->Connections->LAN Settings->Proxy Server to change the address or disable/enable it?

(You can actually open Internet Options from Control Panel without opening up IE, but anyway, it still is a long process.)

As everything useful is done in Registry in Windows, we again have some registry scripts.

Read the rest of this entry »

How to create a shortcut to safely eject devices

Just right click anywhere in a folder select New->Shortcut.

As the path to the shortcut, write this:

%windir%\system32\RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

 image

Now, whenever you double-click that shortcut, it will open up the “Safely Remove Hardware” dialog.

You can actually do better by selecting “Properties” from the context menu of the shortcut, and assigning a hotkey for it. Now, you don’t need to search for the icon in the system tray. You just have to press a hotkey. Hope it increases your productivity a little bit. 🙂

 

By the way, you can also execute the path above programmatically to get the “Safely Remove Hardware” dialog.

Run Dialog on Windows Mobile

imageI learned this very neat trick last summer; however, a couple of months ago I couldn’t find the information again. Now that’ I’ve found it again, I wanted to share it here so that I do not lose it 🙂

By using a key combination, you can actually make the Run dialog which we are all accustomed to, to show up on Windows Mobile too.

It is really like the one on Windows, and you can add command-line parameters too. (like the one in the picture; you can open IE with a predefined address)

Hold the Action hardware button and then tap and hold the time display at the top right of the screen. When you release the stylus, a menu will popup. Select the Run option and there it is! Enter the full path of any executable on the device with any parameters you may like to give.

« Older entries