Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-09-06
5
Medium Priority
?
237 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 400 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This program is used to assist in finding and resolving common problems with wireless connections.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

636 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