Saturday, September 28, 2013

Server 2003 Volume Shadow Copy Command Line (previous versions)

Using Server 2003, with the Server 2003 Resource Kit  (opens new window) installed, you can restore Shadow Copies from the command line with the command volrest.exe

For example, the file in question is:

 "\\svr2003\serverdata\sales\2013\Sales report sep 2013.doc"

Open a command prompt and type:

volrest “\\svr2003\serverdata\sales\2013\sales report sep 2013.doc”

This gives us a list of the shadow copies available for that document.  Wildcards can also be used. 
EG: we could also have used:

volrest “\\svr2003\serverdata\sales\2013\*report sep 2013.doc”
volrest “\\svr2003\serverdata\sales\2013\*report*”
volrest “\\svr2003\serverdata\sales\2013\*”

The switch /s  searches subfolders as well.  The command below will list all shadow copy files for the share serverdata.

volrest /s “\\svr2003\serverdata\*”

We can see the date time the file was modified, size, and the time the shadow copy was created.

To restore, use the command:

volrest “\\svr2003\serverdata\sales\2013\sales report sep 2013.doc” /r:\\svr2003\serverdata\sales\2013\restored”

This will restore all the sales report sep 2013.doc copies available to a subfolder called restored.  If the restored folder doesn’t exist, it will be created.

The files are restored in reverse time order.  Eg: the newest files are created first, and subsequent files are renamed (1), (2), etc.

In the example above, the 287Kb file is called Sales report sep 2013.doc, and the 6Kb file is called Sales report sep 2013(1).doc


Thursday, September 19, 2013

SBS users not listed in SBS Console

I have had a number of cases where users are created in AD, and are then not listed in the SBS Console.  Steve Hardie’s instructions are the best I have seen in how to fix this:
Step by step with ‘easy to follow instructions’ and photos.

Wednesday, September 4, 2013

Remote Desktop Connection Keyboard Shortcuts

A list of common keyboard shortcuts when using Remote Desktop Connection:
Normal Key Combination RDP Combination Effect
CTRL-PAGE UP ALT-PAGE UP Switch programs left to right
CTRL-PAGE DOWN ALT-PAGE DOWN Switch programs right to left
CTRL-ESC ALT-HOME Display Start Menu
WINKEY ALT-DELETE Display Start Menu
ALT-PRT SC CTRL-ALT-(MINUS) Copy active window to clipboard
PRT SC CTRL-ALT-(PLUS) Copy entire screen to clipboard
  CTRL-ALT-BREAK Switch between window and full screen