Friday, January 22, 2010

add Register/Unregister to context menu

To add Register / Unregister menu to context menu of DLL and Ocx file follow the steps below 1. Click on start --- Run 2. Type Notepad and press Enter 3. copy following text in notepad and save file as "anyname.reg" 4. Then double click on file it will ask you confirmation for merging values in registry. click ok. Now right click on any dll or ocx file you will fing new menu register and unregister REGEDIT4 ; This adds the ability to Right-Click on a .dll or .ocx ; and get the Register / UnRegister options. ; ========== ; .DLL files ; ========== [HKEY_CLASSES_ROOT\.dll] "Content Type"="application/x-msdownload" @="dllfile" [HKEY_CLASSES_ROOT\dllfile] @="Application Extension" [HKEY_CLASSES_ROOT\dllfile\Shell\Register\command] @="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command] @="regsvr32.exe /u \"%1\"" ; ========== ; .OCX files ; ========== [HKEY_CLASSES_ROOT\.ocx] @="ocxfile" [HKEY_CLASSES_ROOT\ocxfile] @="OCX" [HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command] @="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\ocxfile\Shell\UnRegister\command] @="regsvr32.exe /u \"%1\"" ; End

Change default location of the Desktop folder.

With this setting, you can change the default location/path of the "Desktop" folder. Upon changing the path, all subsequent files will be saved at the new location. The desktop is the main workspace in a windows user interface. It is the screen area that immediately appears after logging in. Program shortcuts and commonly used files and folders are usually saved on the desktop. Though, this section appears to be an open area, the contents saved on the screen are basically stored in the "desktop" folder on your system. This setting enables you to change the default location/path of the "desktop" folder. Steps: 1. go to start > run, enter 2. "regedit" and Navigate to the keys listed below. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Value Name: Desktop Data Type: REG_SZ (String Value) double-click the value name "desktop" under "shell folders" and "user shell folders" keys respectively, to define a new path in their value data fields for your "desktop" folder. Refresh view of your computer for the changes to take effect. Note: after changing the path, you have to copy all the files and folders saved at the old desktop location to the new location. Then, youll have your existing desktop files and folders at the new location. All subsequent files will be saved at the new location by default. When editing the registry it is highly recommended to run a quick scan for optimization

Howto add recovery console to boot menu

To recover your operating system when your computer does not start correctly or does not start at all, you may want to install and use the Windows Recovery Console. this method of system recovery for advanced users only. You can install the Recovery Console on your computer to make it available if you cannot restart Windows. You can then select the Recovery Console option from the list of available operating systems during startup. Install the Recovery Console on important servers and on the workstations of IT personnel. This article describes how to install the Recovery Console to your Microsoft Windows XP-based computer. To install the Recovery Console, you must be logged on as an administrator. Although you can run the Recovery Console by starting directly from the Windows XP CD, it is generally more convenient to set it up as a startup option on your startup menu. To install the Recovery Console, follow these steps: 1. Insert the Windows XP CD into the CD-ROM drive. 2. Click Start, and then click Run. 3. In the Open box, type d:\i386\winnt32.exe /cmdcons where d is the drive letter for the CD-ROM drive. In the case of 'Microsoft Windows XP Professional x64 Edition, type d:\amd64\winnt32.exe /cmdcons where d is the drive letter for the CD-ROM drive. 4. A Windows Setup Dialog Box appears. The Windows Setup Dialog Box describes the Recovery Console option. To confirm the installation, click Yes. 5. Restart the computer. The next time that you start your computer, "Microsoft Windows Recovery Console" appears on the startup menu.