Link to home
Start Free TrialLog in
Avatar of LFC1980
LFC1980

asked on

Schtasks command

Hi

I have a question from a Transcender (290) i'm just not understanding


You are your company's network administrator. Your company's network consists of a single Active Directory
domain. All servers run Windows Server 2003, and all client computers run Windows XP Professional. The
network contains a member server named BkpSrv, which is equipped with a locally attached tape drive. You
log on to BkpSrv, open the Backup utility and schedule a backup job that targets a server named FS1. The
job successfully runs for several weeks. Then, your company implements an integrated backup solution from
a third party, and you must delete the scheduled backup job on BkpSrv. You want to accomplish this task
from your workstation. BkpSrv does not allow Remote Desktop connections.


a) the Backup utility
b) Scheduled Tasks in Control Panel
c) the ntbackup command
d) the schtasks command


Ans = (d) the schtasks command


Explanation:

To delete the scheduled backup job from BkpSrv remotely, while working on your workstation, you can use
the schtasks command with the /delete switch.

This command-line tool can be used to create, modify and delete scheduled tasks on local and remote computers. Schtasks replaces the at command, which is used in earlier versions of Windows. Windows Server 2003 also supports the at command for backward compatibility.

You can create, change, and delete scheduled backup jobs on the Schedule Jobs tab in the Backup utility.
To delete the scheduled backup job from BkpSrv, you can log on to BkpSrv, start Backup, select the
Schedule Jobs tab, open the job and click Delete. This only works properly from the local computer. You
cannot complete these steps remotely.

Although Schtasks is the command-line version of the Scheduled Tasks feature in Control Panel, the
Scheduled Tasks feature in Control Panel cannot be used to manage scheduled tasks on remote computers.
Similarly, the Backup utility on one computer cannot be used to control Backup utility settings on another
computer. The ntbackup command is the command-line version of the Backup utility. The ntbackup
command does not contain parameters that can be used to manage scheduled backup jobs.

---------------------

The above is copied and pasted from the simulator.

They say the answer is (d), and in the explanation it says "To delete the scheduled backup job from BkpSrv remotely, while working on your workstation, you can use the schtasks command with the /delete switch. "

But in the question it said BkpSrv does NOT accept remote connections !!!!!!

Can someone please shed some light.....is their answer correct..if so how, esp considering they caid BkpSrv doesn't accept remote connections.
ASKER CERTIFIED SOLUTION
Avatar of Jeffrey Kane - TechSoEasy
Jeffrey Kane - TechSoEasy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LFC1980
LFC1980

ASKER

Why can't they make things easier to understand

It says

"BkpSrv does not allow Remote Desktop connections."

And the solution as you clarified is

"but you CAN run the command line to manage tasks on a remote machine"

But with my limted current knowledge i would have thought running the command line on a remote machine would mean you are still connecting remotely

From what is given in the question, how do we know they mean we CAN use the command line remotely?
How do we know?  This line is pretty clear:

"This command-line tool can be used to create, modify and delete scheduled tasks on local and remote computers"

Jeff
TechSoEasy
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
did you try at.exe?

at cmd

"at /?"
Avatar of LFC1980

ASKER

@ Sirreal45:
"BkpSrv does not allow remote DESKTOP connections"

This would be referring to an RDP / Terminal Services session where the desktop of the server is brought to your workstation remotely as if you were sitting at the console.

Cheers, yes that does clear things up.

-------------
@TechSoEasy :

That line was in the explanation so from the question itself i didn't have a clue (i.e. didn't know till just now you were allowed to apply a command line that allows you to do somethign remotely)
After I saw Sirreal45 post that, I realized exactly what you were missing in the equation, and am glad he filled in the gap.

Just FYI, there are many command line entries that are used to apply to remove machines.  Probably the one that's used most often is "shutdown" (usually with the /r flag) which would remotely reboot a machine.  Type shutdown /? for details of this one.

Jeff
TechSoEasy
Avatar of LFC1980

ASKER

Cheers