Shrinking VirtualBox VMs Under Windows

CrashPlan and VSS (Volume Shadow Copy) Errors with Fix

I have been getting Volume Shadow Copy (VSS) errors in my Windows Application log every few seconds. I use Crashplan to back up my machine and many others.

I found out that Crashplan stores its cache on my main hard drive, it was several gigs in size.

Since I keep my temp files on a different drive from my OS, I moved the cache to the other drive and the errors ceased.

So If you have a log full of VSS errors, you can try moving your Crashplan cache to another drive. You can change the location by editing the node cachepath in ProgramData\CrashPlan\conf\my.service.xml. Be sure to restart the crash plan service for the change to take.

The VSS errors which I was receiving:

Description:

Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine returned E_INVALIDARG. Routine details GetSnapshot({00000000-0000-0000-0000-000000000000},0000000000358EB0).
Operation:
Get Shadow Copy Properties
Context:
Execution Context: Coordinator

Turns out that VSS was conflicting with CrashPlan. Easy fix but if you’re not looking for it you may miss it and backups may not complete.

The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.

When you use your Windows 7 workstation for heavy network file copying the lan manager server tends to run out of memory. By making the following setting changes you can avoid this and enhance the file copy speeds.
Continue reading “The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.”

Outlook: Can’t create file : XYZ.pdf. Right-click the folder you want to create the file in, and then click properties on the shortcut menu to check your permissions for the folder.

Error in Outlook 2010:

"Outlook: Can't create file : XYZ.pdf. Right-click the folder you want to create the file in, and then click properties on the shortcut menu to check your permissions for the folder."

This is an annoying message. Even after fixing the users profile permissions it made no difference. This is what worked for me:

  1. Open REGEDIT.EXE and go to Edit -> Find… In the Find dialog box type “OutlookSecureTempFolder” without the quotes.
  2. You may also find the key here without searching if you know the users key:  HKEY_USERS\%USER PROFILE ID NUMBER%\Software\Microsoft\Office\14.0\Outlook\Security
  3. When you find it the key will contain the actual folder location, and will look like:
    1. C:\Documents and Settings\%USER_NAME%\Local Settings\Temporary Internet Files\OLK#\ (where # is a random letter or number)
  4. Copy the location of that folder.
  5. Click on Start -> Run… and paste the folder location from step #4 then click OK.
  6. Explorer will open that folder, then delete all files present.
  7. Restart Outlook and you should be able to open your attachments.

Last time I did this I found over 14k files in that location. Yikes!

How To Remove All Printer Drivers In Windows 7

Let me start by saying that HP has some of the worst drivers for their small office printers. Shame on you!

After many rounds with “re-installing”, specifically HP drivers, I found that it was better to just manually wipe them from the computer and start over.

Open a command prompt with administrative privileges and enter:

net stop spooler

Navigate to (Paste one of these paths into the run command:

%systemroot%\system32\spool\drivers\

NOTE: %systemroot% is usually C:\Windows, but it might be “winnt” or something else; this is set when the OS is installed. Most systems are like this C:\Windows\system32\spool\drivers\w32x86 but also note that if you’re using a 64-bit version of windows the drivers will be in the folder called x64

Inside the w32x86/x64 folder there will be other folders and files. Delete the contents of these folders but do not delete them.

Restart the computer and re-install the printer.

Make sure you turn off or unplug the printer if it’s directly attached. If you don’t Windows will try and be smart and reinstall it for you.

Sending Syslog logs from Ubuntu to a remote syslog server

I don’t know why I didn’t have notes on this already. I’ve done it dozens of times. So here’s the write up.

I use Ubuntu and it uses the syslog facility/daemon called rsyslogd. Its configuration file is located here:

/etc/rsyslog.d/50-default.conf

This file tells the deamon where to log each type of message. For example the follow entry means that all cron message are sent to /var/log/cron.log:

cron.* /var/log/cron.log
Continue reading “Sending Syslog logs from Ubuntu to a remote syslog server”