How to schedule restart of multiple services in Windows Server?

I want to schedule a weekly restart of multiple services on a Windows Server.
There are steps/sequence involved in the manual restart of these services.
Step 1) Stopping services one after another in a particular sequence.
Step 2) Starting all services in exactly reverse manner (Last one first & so on).
Please suggest how this can be done & kindly explain tasks clearly.
Thank You..!!

Have a look a the powershell cmdlets for stopping and starting an service:
Stop-Service and
Start-Service
and put in an powershell script, e. g.:
Stop-Service -Name Service1
Stop-Service -Name Service2
Stop-Service -Name Service3
Start-Service -Name Service3
Start-Service -Name Service2
Start-Service -Name Service1
then you can put this into an scheduled task.

Similar Messages

  • Windows SharePoint Services on Windows Server 2012 R2

    Hi,
      Can someone please guide me on how to install/activate windows share point services on Windows Server 2012 R2? 
    Many thanks.
    Thanks,
    Mathan

    Hi Mathan,
    To install the Sharepoint 2013, please refer to the guide below,
    Install SharePoint 2013
    http://technet.microsoft.com/en-US/library/cc303424(v=office.15).aspx
    If you have any question about SharePoint, to get better help, please post your question on the forum below,
    http://social.technet.microsoft.com/Forums/office/en-us/home?category=sharepoint
    Best Regards.
    Steven Lee
    TechNet Community Support

  • Indexing .cfm files using Indexing Service on windows server 2008 and IIS 7.0

    Hi All,
    Anyone knows why .cfm files would not get indexed by Indexing Service on windows server 2008 and IIS 7.0.  This is a coldfusion website using Indexing Service for site search.  There are a lot of cfm pages indexed as unknown files.   Any clues on how this can be fixed?
    Thanks!

    You might try editing your registry so that *.cfm, *.cfc, and other ColdFusion related files are treated as text files by the Windows search feature.  See link below.
    http://www.dougknox.com/xp/tips/xp_bad_search.htm
    Disclaimer: I am not a Windows system admin.  You might try posting this question to a Windows specific forum.

  • Oc4j as service on windows server.

    Hi experts
    I am trying to making oc4j as automatic service on windows server 2008 ,
    I research the forum and found some steps , i followed that but , it not working for me kindly help
    step i followed..
    I only installed developer 10g on my local machine and downloaded oc4j Standalone Version 10.1.2.0.2.
    1. Download the oc4j_client.zip for 10.1.2 from www.otn.oracle.com.
    2. Unzip oc4j_client.zip file into d:\oc4jclient. Download the ojdl.jar file and place it in the c:\oc4jclient folder.
    after that I unzipped oc4j Standalone file into c:\oc4jclient.
    at the end I followed metalink document How to Run OC4J 10.1.3 As a Windows Service? [ID 742424.1]
    1. Download JDK 1.5 and install it
    2. Download JavaService-2.0.10 from:
    http://forge.objectweb.org/project/showfiles.php?group_id=137
    3. From command line enter the following command:
    javaservice -install “Oracle BI EE OC4J” “C:\Program Files (x86)\Java\jdk1.5.0_15\jre\bin\server\jvm.dll”
    -XX:MaxPermSize=128m “-Djava.class.path=C:\oc4j\j2ee\home\pc4j.jar”
    -start oracle.oc4j.loader.boot.BootStrap -err "c:\log\oc4j.err.txt -description “Oracle BI EE OC4J Service”
    *error i got*
    {code}
    C:\>javaservice -install "Oracle BI EE OC4J" "C:\Program Files (x86)\Java\jdk1.5
    .0_15\jre\bin\server\jvm.dll"
    'javaservice' is not recognized as an internal or external command,
    operable program or batch file.
    C:\>-XX:MaxPermSize=128m "-Djava.class.path=C:\oc4j\j2ee\home\pc4j.jar"
    The filename, directory name, or volume label syntax is incorrect.
    C:\>-start oracle.oc4j.loader.boot.BootStrap -err "c:\log\oc4j.err.txt -descript
    ion "Oracle BI EE OC4J Service"
    '-start' is not recognized as an internal or external command,
    operable program or batch file.thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    got it working finally

  • AD Management Gateway Service for Windows Server 2008 SP2

    Hey,
    I'm having the same issue as in this thread.
    https://social.technet.microsoft.com/forums/windowsserver/en-US/93be1866-8aa8-4004-be95-113b7a4faef2/ad-management-gateway-service-for-windows-server-2008-sp2
    And trying to follow the 5 step procedure listed in the 3rd post, but am stuck on step 5, getting the hotfix from Microsoft. The link posted from the Hotfix page is just a generic Microsoft Support page. Which is not helpful. How do I actually contact them
    (phone # or email address) to get the software?
    Thanks In Advance,

    No luck. I've tried the chat which asks which Windows version Im using and there's no Server 2008 only desktop versions. I called and after talking with 3 people I got cut off. There has to be an easier way to get a simple file downloaded.
    You can hire me to do it for you.  I am always successful at contacting MS Support. 
    You didn't follow the instructions I  posted.
    Reach us over the phone at 1-800-642-7676 (TTY: 1-800-892-5234)
    http://smallbusiness.support.microsoft.com/en-us/contact/
    Click Technical Support for Chat.                     
    GREAT BIG BLUE BUTTON SAYS "Technical Support" - CLICK IT AND SELECT WINDOWS SERVER AT THE BOTTOM OF THE LIST.
    It is really that easy.
    ¯\_(ツ)_/¯

  • High availability SQL Server requirements for Remote Desktop Services in Windows Server 2012

    Good night,
    Thanks for reading this question, I do not write much English.
    I am implementing Remote Desktop Services in Windows Server 2012, I need to know the size of the database to create and feature on the .mdf and .ldf, I searched in different microsoft link but I have not received a response.
    Kindly appreciate your cooperation and attention.

    Hi Alejandro,
    I am implementing Remote Desktop Services in Windows Server 2012, I need to know the size of the database to create and feature on the .mdf and .ldf
    If you want to know the size requirements of .mdf abd .ldf files, since they are parts of SQL database, I suggest you refer to SQL forums below to get more professional support:
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlgetstarted
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/home
    In addition, here are some articles regarding RDS deployment for you:
    Remote Desktop Services Deployment Guide
    https://technet.microsoft.com/en-us/library/ff710446(v=ws.10).aspx
    Remote Desktop Services (RDS) Quick Start Deployment for RemoteApp, Windows Server 2012 Style
    http://blogs.technet.com/b/yungchou/archive/2013/02/07/remote-desktop-services-rds-quick-start-deployment-for-remoteapp-windows-server-2012-style.aspx
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Windows Server Essentials Storage Service and Windows Server Essentials Email Service eating memory

    Hi
    I have Windows Server 2012 R2 with Essentials Role installed. I have integrated server with Azure AD, Office 365 and Intune using the Essentials Dashboard integration tools.
    I can see that Windows Server Essentials Storage Service and Windows Server Essentials Email Service are eating much of server memory. What are these services for and why they use a lot of memory? Specially I am wondering about the Email Service. What is
    it for? Server dont handle email in any way so what is this service for? I tried to google it but found nothing.

    Hi
    I have 6GB of memory.
    When I check from Resource Monitor, for Essentials Storage Service, Commit Set is 4G and Working Set is 1,8G.
    Email Service Commit is about 1,8G and Working Set is just below 1G.
    So these two services are reserving almost all the memory.
    Memory is about 85-90% in use all the time, whether it be night or day.
    Server have about 12 users and at the office there is about 2-6 person at the time. Link between server and office is 100M. There are no other services installed but the basic ones. We use server for AD (O365 integration) and file shares. Traffic in File
    Shares are not big. They are more kind of an warehouse that in busy day-to-day use.
    This server is about couple of months old and it has been like this since it was fired up.
    I dont know what to look for from Event Logs and Process Monitor dont give me anything useful.

  • Offline data synchronization in azure mobile services on windows server 2008

    Hi,
    I have a class library which insert data into tables in azure mobile services on windows server 2008 OS for windows universal C# platform. I am trying to insert data using offline data synchronization.
    I had installed SQLite runtime for windows 8.1 and windows phone 8.1, but unable to add reference 'SQLite for Windows Runtime(Windows8.1)'.
    Please guide me whether windows server 2008 OS supports offline data synchronization in azure mobile services.
    Thank you.

    I also have a Windows Server 2012 R2 system using Azure Backup, and I don't have the problem. However, you probably noticed that you use a different Azure Backup installation download for Windows Server 2008 R2 vs. Windows Server 2012 R2. Although both
    show the same Microsoft Azure Recovery Services Agent version 2.0.8692.0 installed, my Windows Server 2012 R2 also lists Microsoft Azure Backup for Windows Server Essentials version 6.2.9805.9 installed as well. It could be the case the my problem with the
    CATALOG FAILURE 0x80131500 errors is something specific to the version of Azure Backup installed on my Windows 2008 R2 servers.
    Trilon, Inc.

  • Guideline of installing remote desktop services in window server 2012 r2

    Hi,
    I tried to install remote desktop services in window server 2012, I joined my current domain ( in window server 2003).
    During installation, it require me to promote my server to domain controller? This is one of the requirement for remote desktop services?
    If I didnt join any domain, it prompt me I must join a domain.
    Anyone can advise me? provide me a steps by steps guide will be perfect!
    Thanks 

    Hi GP_IT001,
    In your current network do you currently have a domain controller? You mentioned that you "had" a Domain Controller running Windows Server 2003.
    Am I correct in thinking that you no longer have this server?
    As this article mentions:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/f3d0543a-edab-4eb2-8360-3658a3351bb0/licensing-issue?forum=winserverTS
    You will need a domain environment which means you'll need a server that is a domain controller, and I believe that it will also need to operate Windows Server 2012 or above. You could, if you wanted, setup a new server (virtual or physical) as a domain
    controller and use that if you wish.
    Best regards,
    Please remember to mark the replies as helpful if they help, or as answers if they answer your question. Please also unmark the answers if they provide no help.
    Zach Roberts
    Independent Microsoft Community Support Advisor
    Disclaimer: I don't work for Microsoft. Any advice given is my own and does not represent Microsoft.
    Follow me on Twitter:
    @WindowsZach

  • How to use ZendAMF with multiple services?

    I followed Mihai Corlan's tutorial (http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/) to create a remote service with Zend AMF, and it works great.
    But, I can't figure out how to use multiple RemoteObjects. I keep getting the infamous:
               faultCode:Client.Error.DeliveryInDoubt faultString:'Channel disconnected' faultDetail:'Channel disconnected
               before an acknowledgement was received'
    I set up my second RemoteObject the same way that I set up my first one.  But, I can't get it to work.
    Any suggestions? Has anyone seen examples of multiple services being used?
    Thank you!
    -Laxmidi

    I made a stupid php error.
    If you can do a single remote, you can do multiple ones. It's straightforward.
    -Laxmidi

  • How do I set a multiple Services Dashboard?

    Hello!
    I'm on Oracle EM11g setting up some systems and services. I was reading this doc page and saw that awesome dashboard to see multiple services at the same time. However, I don't understand how can I set up a dashboard like that, plus the photo shows its from EM 10g so I'm not sure if I'm running in circles for something I can't accomplish in 11g.
    Cheers,
    Nock

    Hi Nock,
    It's certainly something you can accomplish in 11g, the reports can be accessed/created and edited from the information publisher reports option in your main menu. documentation for it can be found here:  Information Publisher
    R, Jurgen

  • How to schedule restart of Workflow notification mailer?

    We are facing this issue in all environments including production;
    Inbound IMAP Notification emails are pending in the INBOX folder of the mail box. These moves to PROCESS folder only after restart of the 'WORKFLOW NOTIFICATION MAILER' every 3 to 4 hours.
    I have raised an SR with Oracle support for a solution.
    For this temporary workaround of restarting the Notificaiton mailer, I want to know how can I schedule the automatic restart of the 'WORKFLOW NOTIFICATION MAILER', Please advice.

    Sami,
    See (Note: 466927.1 - How to Schedule Events for the Workflow Notification Mailer).
    Regards,
    Hussein

  • How do I restart or start the TREX Queue Server ?

    Hi:
    In one of our environment, the TREX Queue server is unavailable. The service is down. I see it in the TREX Monitor (System Administration/System Configuration/Knowledge Management/Index Administration/TREX Monitor)
    How do i restart (start) the queue server again ? Where can I do that ?
    Thanks,
    Felipe Mendivil

    Felipe,
    Queue server can be restarted thru the TREX admin tool. Go to your Trex host and the trex installation directory and launch trexadmin.bat. You can see all your trex services there.
    restart also is possible.Is the problem only with your queue server or is http server also affected?
    Rgds

  • How to run jar as a service on windows 2000 server?

    Hi,
    I built a console jar program and want to run it as a service on windows 2000 server.
    May I ask how can I do it?
    Thanks

    Take a look at something called java service wrapper ,
    http://wrapper.tanukisoftware.org/doc/english/introduct
    on.htmlNot seen that one before. Ta.
    Alexandria software used to support a simpler app called JavaService... google for that maybe if the above is too much.
    /k1

  • How to deploy an WCF OData Service in windows azure

    I am having a WCF OData service in visual studio which i need to deploy in windows azure for accessing in IPad app.
    thanks in advance

    Hi Pilid,
    Thanks for posting!
    About this issue, I suggest you could refer to those documents:
    OData Team Blog:Deploying an OData Service in Windows Azure 
    Docs and code sample :Windows Azure WCF Data Service
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Help Installing Adobe Acrobat 9 Professional

    I had Adobe Acrobat 9 Professional on my computer prior to having to reload software due to virus problems.  I cannot find a place to download it.  I have the serial number and bought it legitimately.  Please advise. Thanks.

  • Programatic JAR creation

    I am trying to create a JAR file with the java.util.jar library/package. I am able to create the file and get files into it but I am unable to access it from a java program. If i create the same jar file with the commandline utility i can access it j

  • New chargers...

    what is it with the flimsy design of these current chargers?my n91 charger doesn't work anymore, ptobably cos the charger head is messed up but i've to resort to the charger adapter that came with the phone. don't know if its like that anywhere else

  • How to authorize other Macs for OSX Lion?

    Hello, My sister bought a refurbished MacBook Pro that came with the former OSX release 10.6 Snow Leopard. I know that I can authorize her Mac to allow the download and installation of OSX Lion. The problem is that she already created a different App

  • Completion: Post to Facebook?

    The ask: Is there a way in JavaScript, a Widget, or etc. To allow the user upon completion of an e-learning to post their "achievement" to facebook? The explanation: We are toying around with the idea of creating end user assessments, e-learning game