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 ""

Turn off Plug-in Compatibility Check for Firefox

You need to install a plug-in you know is compatible, but is failing the check. Create and/or modify the following key in the "about:config" section.

extensions.checkCompatibility

After you have installed and used the plug-in you can turn this back off again; however, the plug-in will become disabled. Just turn off the check again whenever you want to use the failing plug-in.

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.

Adjust SharePoint Log Settings

Is there any out of the box way to reduce the amount of logging SharePoint does? This would help us in our disk space usage.

Yes, you can. In the central administration web site go to Operations -> Diagnostic Logging. You can change the level of logging or turn if off altogether.

Using PERL PPM through firewall proxy

Use the following in DOS prior to running PPM
REM If the proxy server requires a user name and password
REM include them in the following form:
REM http_proxy=http://username:password@proxy.example.org
set http_proxy=http://mlr:password@10.194.90.18:80