Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need an ability to run "svn update" on a remote machine for a non-technical user, how would I go about it?

Our non-techincal users are using Windows XP and have Tortoise SVN client installed.

I'm thinking to do following but I'm not really in a favor for either so far...

  • Batch (that runs locally on Windows)
  • Shell (runs on a remote machine requires SSH access/client)
  • CGI (that runs on a remote machine via web)
share|improve this question
Are the users so non-technical that they're unable to right-click on the folder and do an SVN update themselves using TortoiseSVN's context menus? – EEAA Jun 13 '11 at 21:42
svn update needs to happen on a remote machine not on their local workstations – alexus Jun 14 '11 at 14:16
up vote 0 down vote accepted

anyways, so what I end up doing is running CGI, so now they can hit that cgi that runs update

share|improve this answer
Whilst it's great that you have an answer to your problem, it would be better if you could elaborate on your solution so that others can benefit. – Greg Woods Sep 26 '12 at 8:17

If the remote machine is also running Windows and your users have privileges on the remote machine, I'd recommend giving PsExec a look. Your command on the local machine would look something like:

psexec \\remotemachine -w C:\directory\on\remote\to\run\svnupdate\in svn update

You can specify a username and password with the -u and -p options, respectively.

svn.exe needs to be in the remote machine's PATH otherwise you have to specify its full path on the command line as well.

Wrap that line up in a .cmd file on your non-technical users' desktops and they just double click it to execute svn update on the remote machine.

share|improve this answer
remote machine is running Linux – alexus Jun 30 '11 at 14:09

I typically use a telephone for this kind of thing. Non-technical users generally know how to use the mouse and the keyboard. I always say something like "I'm going to ask you to type in a command but please do not press the ENTER key until after you read it back to me and we verify that it is correct". Then I get them to open a command window, type C-D-SPACE-BACKWARDSSLASH-S-O-M-E-W-H-E-R-E-ENTER and then S-V-N-SPACE-U-P-D-A-T-E and ask them to read it back and verify that there is a space between the N and the U.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.