Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

running robocopy in a workgroup

Posted on 2006-11-13
4
428 Views
Last Modified: 2008-03-06
Ok, we have a client that is running on a workgroup environment with NO user passwords.  So when trying to set a scheduled task for robocopy once a night, the batch text file is giving us errors, due to not having a password on this account.  And I want to avoid putting a password on if possible, because once I put it on, the other users will not have access to drives and printers.  Looking for a simpler solution!!

So my question is, is there way to schedule this task without having a user password for the admin account?
thanks!!
0
Comment
Question by:initialit
  • 2
4 Comments
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 17931710
initialit,

I don't have a solution for the "simpler" method but wanted to bring up a point against it.  If you don't set a password you run the risk of something else doing it or someone else accidently doing it and locking you out.  Even a situation where the password is the same is better than not having one at all.

This is just a suggestion.  If you are still interested in the simpler solution another expert will be able to hopefully help if it is possible.  Let me know if you have any questions or need more information.

b0lsc0tt
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 17931838
Instead of using Task Scheduler, maybe you could use the AT command, which apparently doesn't require a passsword; syntax of the command given below:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\LeeTutor2>at /?
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername     Specifies a remote computer. Commands are scheduled on the
                   local computer if this parameter is omitted.
id                 Is an identification number assigned to a scheduled
                   command.
/delete            Cancels a scheduled command. If id is omitted, all the
                   scheduled commands on the computer are canceled.
/yes               Used with cancel all jobs command when no further
                   confirmation is desired.
time               Specifies the time when command is to run.
/interactive       Allows the job to interact with the desktop of the user
                   who is logged on at the time the job runs.
/every:date[,...]  Runs the command on each specified day(s) of the week or
                   month. If date is omitted, the current day of the month
                   is assumed.
/next:date[,...]   Runs the specified command on the next occurrence of the
                   day (for example, next Thursday).  If date is omitted, the
                   current day of the month is assumed.
"command"          Is the Windows NT command, or batch program to be run.

0
 

Author Comment

by:initialit
ID: 17933452
ok, cool... now I'm just a little confused how to use this.  

I want it to run every day at 23:00, using:
C:\Batch\robocopy_back_new.bat

computer name: desktopkk

is this enough info to help write the correct script?

thanks.
0
 
LVL 59

Accepted Solution

by:
LeeTutor earned 250 total points
ID: 17934488
There's a little more info on using the AT command in this MSKB article:

http://support.microsoft.com/kb/313565
How To Use the AT Command to Schedule Tasks

it sounds like you need to do it with this command:

AT \\desktopkk 23:00 /EVERY:M,T,W,Th,F,S,Su cmd C:\Batch\robocopy_back_new.bat

If this doesn't quite work, read the article and see if experimenting around will produce your desired result...
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
xp cannot copy or paste from folder to folder 16 132
Blue screen when trying to install xp on hd 22 133
Windows 7 and Pro update issues 5 93
Asus ks2003 driver XP 32 33 144
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question