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

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

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Web site adult filtering solutions for a small LAN network 27 152
f5 Persistence 14 62
How to configure this in fortinet firewall 2 63
Windows PE .WIM files WDS issue 4 28
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.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

856 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