How to disable dumprep.exe

When a program crashes in windows this program normally is what causes things to hang and it keeps opening multiple copies of itself if you attempt multiple close attemps.

How to disable dumprep.exe:

1. Right click on "My Computer," choose "Properties" from that menu.
2. Click on "Advanced tab,"
3. Click the "Error Reporting" button.
4. Check the "Disable error reporting" box. You may choose to uncheck the the box below it, "But notify me when an error occurs," if desired.

Delete File on Reboot

SysInternals has a utility to delete files upon reboot just in case the files are locked. See the notes below:

There are several applications, such as service packs and hotfixes, that must replace a file that's in use and is unable to. Windows therefore provides the MoveFileEx API to rename or delete a file and allows the caller to specify that they want the operation to take place the next time the system boots, before the files are referenced. Session Manager performs this task by reading the registered rename and delete commands from the HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations value.

This applet dumps the contents of the pending rename/delete value and also reports an error when the source file is not accessible. Here is example output that shows a temporary installation file is schedule for deletion at the next reboot:

C:\>pendmovesPendMove v1.02
Copyright (C) 2004 Mark Russinovich
Sysinternals - wwww.sysinternals.com

Source: C:\Config.Msi\3ec7bbbf.rbf
Target: DELETE

The included MoveFile utililty allows you to schedule move and delete commands for the next reboot:

usage: movefile [source] [dest]Specifying an empty
destination ("") deletes the source at boot.

An example that deletes test.exe is:

movefile test.exe ""

Installing New Network Printer Vista to XP Shared

Go to Control Panel. Choose printer. Then choose Add Printer.

ChooseAdd a local printer. Click on Create a new port. The default in the drop down box is Local Port. Do not change that. Click Next.

A dialogue box will appear asking for you to enter a port name. Type in the \\computer name\printer name such as \\Gt5040\HPDJ940C

Create Show Desktop Icon

Save the following as "Show Desktop.scf":
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

You can then right-click and drag to the "Quick Launch" toolbar and choose copy here, if you drag-n-drop it only creates a shortcut. In that case, you will need to keep the source code where you saved it.

Recovering Grub (menu.lst) after Windows Re-install

Reference: link

  • Boot the Desktop/Live CD. (Use Ubuntu 8.04 or later)
  • Open a terminal (Applications -> Accessories -> Terminal)
  • Start grub as root with the following command
    • sudo grub
  • You will get a grub prompt which we will use to find the root partition and install grub to the MBR (hd0)
    grub>
  • Type the following and press enter:
    find /boot/grub/stage1
  • If you get "Error 15: File not found", try the following:
    find /grub/stage1
  • Using this information, set the root device (fill in X,Y with whatever the find command returned):
    grub> root (hdX,Y)
  • Install Grub:
    grub> setup (hd0)
  • (In case you want to install GRUB to another drive (like hdX) use the above command as 'setup (hdX)' and then continue)
  • Exit Grub:
    grub> quit
  • Reboot (to hard drive). Grub should be installed and both Ubuntu and Windows should have been automatically detected.
  • 6. If, after installing grub, Windows will not boot you may need to edit /boot/grub/menu.lst

Uninstall GRUB fix MBR for Windows

Boot your computer using FreeDOS on CD-ROM, and run the following command from a command prompt.

fdisk /mbr

This restores your master boot record, and effectively eliminates GRUB.  You now have orphaned Linux partitions on your hard drive you will either need to use windows to delete and reformat as additional partitions or use a 3rd party utility to reclaim the space.