Solved

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

Posted on 2004-09-06
5
229 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
  • 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now