Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
|
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 12th, 2006, 05:54 AM
Registered User
 
Join Date: Dec 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to stop and start windows services from linux.

how to stop and start windows services from linux.

 
Old December 12th, 2006, 07:53 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

- From the man page for 'net' from samba-3.0.0rc2:

   RAP SERVICE
       Start the specified service on the remote server. Not implemented
 yet.

              Note

              Currently NOT implemented.

       Stop the specified service on the remote server.

              Note

              Currently NOT implemented.



So, at some time in the future this will be possible with something like:
# net rap service server stop

(you would be prompted for a password, and you may specify a different
user with -U).

Reboot is implemented:

   SHUTDOWN [-t timeout] [-r] [-f] [-C message]
       Shut down the remote server.

       -r Reboot after shutdown.

       -f Force shutting down all applications.

       -t timeout
              Timeout before system will be shut down. An interactive
user of
              the system can use this time to cancel the shutdown.

       -C message
              Display the specified message on the screen to
announce the
              shutdown.

www.crmpicco.co.uk
www.ie7.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Reporting Services stop working every morning! aldaris BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 January 19th, 2006 05:15 PM
How to know my COM+ stop start vanthq Visual C++ 1 January 17th, 2006 05:37 AM
How to know my COM+ stop start vanthq Pro VB Databases 0 January 6th, 2006 05:19 AM
How to start COM+ services? Ned VB Components 1 August 26th, 2003 04:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.