Previous Posts


Force Windows 2003 to look like XP

Disable the Windows 2003 Shutdown Tracker

New SysInternals Tool: Active Directory Explorer

Can't open this item. There is not enough memory -...

Terabyte hard drives become mainstream

New line of Dell laptops

Hide your last login

Illegal System DLL Relocation - Fix

Get the BCC field back in Outlook 2003

Resize volumes in Windows Vista



Archives

May 2005

January 2006

April 2006

May 2006

June 2006

July 2006

September 2006

October 2006

November 2006

December 2006

January 2007

February 2007

March 2007

April 2007

May 2007

June 2007

July 2007

August 2007

September 2007

October 2007

November 2007

December 2007

January 2008

February 2008

March 2008

April 2008

May 2008



Subscribe to our Feed:






Backup your files using Remote Desktop

I had a problem for the last few weeks. I can no longer download or upload EXE, ZIP, COM, or VBS files via FTP. Recently the hosting provider has had some serious virus troubles and they have instituted a new policy. All EXE, ZIP, VBS, and COM files are blocked.

So now I have a huge collection of files that I can't get out...short of them burning a CD and sending it to me.

I really like this provider, and I understand their trouble. It is true that most websites never have a need to provide exe files for download. To get around the problem I created an interesting solution. I like it so much I use it for many other remote sites that I manage. (Please note this will only work for 2003, XP, or Vista)

To get started open your Remote Desktop client. Click on the options button, and move over to the resources tab. See the checkbox towards the bottom that says "Disk Drives" Check it. This will tell the Remote Desktop client to share your local drives with the server you are connecting.

Remote Desktop Share Drives


Now go back to the general tab and enter the name of server you want to connect....and click connect. Once you are connected go into My Computer and make sure your local drives are available...like this:




See the drives named XX on LAPTOPJS...those are drives on my local laptop. Now here is the tricky part. I hate using explorer to copy a large number of files. Why? Because most of the time it will fail half way through the copy - with no way to resume.

I wanted to use robocopy. It is a free command line utility from Microsoft in the Windows resource kit. You can download it from here

The trouble is I couldn't get to my shared drives from the command line. You would think you could use a path like this: \\laptopjs\c to get to the C drive...but no luck with that.

Eventually I came across some obscure documentation from MS that noted you can access these drives by using the hard coded hostname \\tsclient

This actually was better than I thought, because I could then use the same script for any machine that connected to the server.

Here is what I did. I created a script that looked like this:

robocopy.exe c:\website \\tsclient\c\website_backup /e /r:0 /w:0
Run robocopy with no arguments to see all of its options

Put it into a batch file and made a shortcut on the desktop

Backup Everything


Now I just need to RDP into the server...double click on the icon and it downloads an updated copy of the website.

Best of all - since I am using robocopy it only downloads files that have changed since the last time I ran the script.


Posted By: Steve Wiseman on Sunday, August 05, 2007

Check out our utilities for windows

 



Copyright © IntelliAdmin, LLC, 2008. All Rights Reserved