Tuesday, February 5, 2008

Using Shadow Copies on Windows Server 2003

I have been vaguely aware that shadow copies are a means of recovering files without going to back up, but when I had a user request a file that she had deleted today, I decided to look into it. For Windows 2003 shares, you can recover deleted or saved/changed files BUT shadow copies has to be enabled first. In this particular case, shadow copies was not enabled. But here is how you do it:

--------

Shadow Copy is only available on Server 2003 machines and naturally you need NTFS (not FAT32). Configuration is easy, just click on the root of the any drive, Select a Volume, now press the Settings button. A crucial point is that Shadow Copy only works on network shares, and not on plain un-shared folders. So in passing, note that the number of shares for each volume. 'Best Practice' suggests that you place the 'Shadow' on a separate disk or at least on a separate partition. Personally, I would dedicate a disk to this service thereby improving performance. To change the drive, select the 'Details Button'.

Microsoft provide a schedule of two shadow copies a day, at 7:00 am and 12:00. You may wish to adjust these timings. When you select a schedule bear in mind that when you reach 64 shadows, the system starts over-writing. So make a calculation of how far back you would like to keep copies. My point is that if you go mad and schedule every hour, then you will start over writing within 3 days. Is that desirable? Would you want copies to be over-written so soon? I think not both on the grounds of load on the server and on how long you would want to retain previous versions.

--------

And then once it is enabled, here is how a user could retrieve files:

--------

To Recover a Deleted File

  • Drill down to the folder the file was deleted from.
  • Click in the list and then right-click the mouse to select Properties from the bottom of the menu. Select the Previous Versions tab from the Properties dialog box.
  • Select the version of folder that contains the file before it was deleted. Then click View. This will open the folder showing you the last saved version of the file. You can now select the file and drag and drop or cut and paste it from the folder to the target destination.

It is easier to recover a corrupt or overwritten file because you have something to select in the folder:

  • Right-click the bad file and click Properties.
  • Select Previous Versions as described above. To view the safe version, click View. To copy the old version to another location, simply click Copy and to replace the current version with the older version, simply click Restore.

Thursday, January 31, 2008

Embedding video into a Powerpoint

I already know how to embed an audio file into a Powerpoint (see previous blog entry) - but I had never needed to put video into a Powerpoint until today. I wasn't successful in making this work right - but it seems sound. Here are instructions for embedding a video into Powerpoint:

–Save video or video segment to your computer
–View > Toolbars > Control Toolbox
–Click on More Controls (hammer and wrench icon)
–Scroll down to Windows Media Player
–Draw a box that will become the image below
–Right click on the media player > Select properties
–Click on the empty cell next to “Custom”
–Browse for your video > Click OK
–In slideshow mode, you will be able to play the video embedded with controls like rewind, fast forward, sound, etc.
–You can also right click to open more menu controls, like View > Full Screen

Thursday, January 24, 2008

Outlook not opening with "the operation failed due to an installation problem"

Interesting issue today . . .

I had a user who logged into a Win XP computer (with Office XP and Outlook 2003). When the user logged in and opened Outlook, he got this:







The weird thing is that all users (I tried several others, all local administrators) got this same error. But I know that I set up a user on Outlook about 2 months earlier. When looking in the application event log, I saw this:























After some research, it turned out that I had to add a DWord key of UserData with a hex value of 1 in HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook. So it looked like this:







And then it worked. I feel like I'm going to have to keep creating this key for all users in the future. Perhaps, I should uninstall and reinstall - but not today.

Wednesday, January 23, 2008

WLAN driver causes BSOD only on WPA network

I ran into something very strange today. I had a ThinkPad T41 that was getting intermittent blue screens of death. I ran hardware diagnostics, and they all came up with no problems. To make a long story short, I took it home and reformatted it. No more BSODs. Then I brought it back to my client's office, and I got a BSOD every time I booted up the computer - just after I logged in.

It seemed that whenever the wireless LAN card saw a WPA encrypted network (not even connecting to it - just seeing it), it would give this BSOD - about IRQ_less_or_equal (or something like that). I had to disable the WLAN card with the hardware switch (in this case Fn + F5). Then everything worked fine. In the end, I upgraded the driver for the Intel Pro 2100 3B driver (I think that was the model or something close to it). And after that, all was normal. Very strange.

Thursday, January 17, 2008

Windows XP slow on Preparing Network Connections

I've seen this many times, but never gotten a solid resolution. A laptop takes a long time to process "preparing network connections" on bootup - before you even get to the login screen on XP. I troubleshot this today for a user who said it took 5 minutes to go through that when she was off-site. I timed it, and it was really only one minute and 47 seconds, but that's still an eternity.

Then I tested it when she was on-site. IT TOOK EVEN LONGER.

Then I went into Network Connections Advanced Settings (Network Connections -> Advanced -> Advanced Settings) and moved the IEEE 1394 connection below the LAN and WLAN connections. For some reason, it was at the top. Then on the next reboot, it was less than 20 seconds for preparing network connections.

Saturday, January 12, 2008

upgrading Quickbooks file to 2008

I've done two upgrades to Quickbooks 2008 from 2006. Both times, the QB file was on the network. In order to upgrade the file - you have to install QB 2008 on a machine and open then file. When I opened the file when it was located on the network, it gave me an error about permissions each time. Then I had to restore the QB file from backup. In short, in order to upgrade the file - I had to bring the file down local and open it there and then copy it back up to the network.

Thursday, January 3, 2008

Out of Office Assistant says "Command not available" when you try to acitvate or deactivate autoreply

I came across this issue for the first time two weeks ago when someone was setting an autoreply and again today when someone was deactivating an autoreply. When you go to Tools -> Out of Office Assistant, it tells you "Command not available."

To fix it, you go here for Outlook XP:
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\O
utlook\Resiliency

or here for Outlook 2003:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\O
utlook\Resiliency

and rename the Resiliency key to Resiliency.old

Microsoft does not say why this is the case, but their KB article on this is here:

http://support.microsoft.com/kb/327353