Advertisement

05.13.2008 at 11:23PM PDT, ID: 23400414
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

error code 31 on batch file with psexec - ntback list of computers

Tags: ntbackup exited on <computername> with error code 31, psexec batch
Can't get my batch file to successfully run.  I'm getting error code 31 from psexec v1.94.  What I am doing is running a batch file that goes out and backs up all the computers i've designated in a text file, one at a time to a target share in a ws2003 domain.  I'm running the batch file as a domain admin.  Ran fine on a test environment.  I can psexec cmd to the computers and run other commands like ipconfig, etc.  Triple checked my paths.  I tried a simpler way and got same error 31:
>psexec \\INTENDEDCLIENT ntbackup backup C: /f "\\TARGETSERVER\backup\INTENDEDCLIENT.bkf"

PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com

ntbackup exited on INTENDEDCLIENT with error code 31.

My code snippet is a single line in a .bat file.  All XP Pro SP2 machines.  I've accomplished this in the past doing the computers one by one.
1:
for /F %%a in (c:\backup\machines.txt) do psexec \\%%a ntbackup backup C: /f "\\TARGETSERVER\backup\%%a.bkf" /SNAP:on 2>>C:\backup\ntbackuplog.txt
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: pcrequest
Solution Provided By: RobSampson
Participating Experts: 1
Solution Grade: A
Views: 60
Translate:
Loading Advertisement...
05.14.2008 at 04:09PM PDT, ID: 21569428

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.14.2008 at 05:54PM PDT, ID: 21569869

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.14.2008 at 06:06PM PDT, ID: 21569922

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.15.2008 at 12:20PM PDT, ID: 21577092

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.15.2008 at 02:44PM PDT, ID: 21578240

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.16.2008 at 04:57PM PDT, ID: 21587280

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628