Solved

the following command to start schedule service is giving an error?

Posted on 2004-09-06
5
234 Views
Last Modified: 2008-03-03
when i run the following command to start schedule service, it gives the status Error when the service time come to start

at \\computer-name 20:45 /EVERY:m,t,w,th,f,s,su "remote /s secret"

it successfully entered as a schedule but giving me error when the time to start come near. what should i do?
my clients are running on windows 2000 and my server is running on windows 2000 advances server.
i tried the same procedure with wsremote but it is also giving error.
0
Comment
Question by:baburkhan
[X]
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
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:fitcher
ID: 12000667
Try a """ or look up the /x char for a "  or try c:\remote /s  



  To Start the SERVER end of REMOTE
  ---------------------------------
  Syntax : REMOTE /S <"Cmd">     <Unique Id> [Param]
  Example1: REMOTE /S "i386kd -v" imbroglio
           To interact with this "Cmd" from some other machine,
           start the client end using:  REMOTE /C MARINE imbroglio

  Example2: REMOTE /S "i386kd -v" "name with spaces"
           start the client end using:  REMOTE /C MARINE "name with spaces"

  To Exit: @K
  [Param]: /F  <Foreground color eg yellow, black..>
  [Param]: /B  <Background color eg lblue, white..>
  [Param]: /U  username or groupname
               specifies which users or groups may connect
               may be specified more than once, e.g
               /U user1 /U group2 /U user2
  [Param]: /UD username or groupname
               specifically denies access to that user or group
  [Param]: /V  Makes this session visible to remote /Q
  [Param]: /-V Hides this session from remote /q (invisible)
               By default, if "Cmd" looks like a debugger,
               the session is visible, otherwise not
0
 

Author Comment

by:baburkhan
ID: 12005405
you have pasted the options and help menu from the remote.exe.
i tried to start the schedular with full path to the remote /s, also with and withour quotes but still it is giving me error, how to start the schedular remotely with the named pipe, without interacting with the user?
0
 
LVL 2

Accepted Solution

by:
fitcher earned 100 total points
ID: 12008215
You get an error because the syntax of the remote command is wrong that you tried to schedule with the at command,  If you are trying to start the scheduler service remotely then netsvc "task scheduler" \\machinename /start should do it.
0
 

Author Comment

by:baburkhan
ID: 12058488
will it be the interactive for the remote user?
0
 
LVL 2

Expert Comment

by:fitcher
ID: 12058803
No,  netsvc is an adminitrative task and does not interact with the user.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

726 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