The Ultimate Citrix Install Guide
 
1 - Preface
2 - Project Management
3 - Analysis Phase
4 - Design Phase
5 - Implementation Phase
  1. Implementation Overview

2. Prepare the Network Environment

3. Add Users to a Terminal Services Environment

4. 3rd Party IMA Data Store Installation Instructions

5. Install Operating System

6. Install MetaFrame XP

7. Tweak Windows 2000 / MetaFrame XP

8. Rapid Server Deployment

9. How to create a Zone & Move MetaFrame Servers to it

10. ICA Client Update Configuration Utility

11. How to Setup Automatic Reboot for MetaFrame Servers

12. Client Drive Mapping

13. Install Applications

14. Publishing through the Citrix Management Console

15. How to Build a Stable Printing Environment

16. NFuse Integration

17. Citrix Web Console (CWC)

18. How to Secure a Internet Information Services (IIS) Server

19. Citrix Management Console (CMC)

20. Microsoft Terminal Services License Server

21. Implement System Policies

22. Implementation - Checkpoint
6 - Readiness Phase
7 - Rollout Phase
8 - Appendix

11. How to Setup Automatic Reboot for MetaFrame Servers

Unstable applications can cause an unstable environment.  Rebooting the system prevents the operating system from becoming unstable.  This allows the system to recover from applications leaking memory and other system resources.  

The following procedures describe how to create and schedule the recycling of your MetaFrame servers.

1.       Create a folder off the root of C: called REBOOT.

2.       Open Notepad and enter the following script and save it as shutdown.cmd

 

change logon /disable

msg * Please log off and save your work.  The server is going down in 5 mins.

sleep.exe 5

net stop spooler

sleep.exe 120

del c:\WINNT\System32\spool\PRINTERS\*.* /q

tsshutdn.exe /REBOOT

 

 

The SHUTDOWN.CMD script will do the following:

        Disable any additional users from logging on

        Waits five seconds

        Sends a message to all currently logged on users to notifying them the server will be rebooted in 5 minutes.

        Stops the Spooler server

        Waits 120 seconds for the spooler service to stop

        Deletes any print jobs in the print spooler directory 

NOTE: you might need to change this file path in case you changed the default spool directory as recommended above.

        Sends a message to all logged in users notifying them the server will be shutdown in 1 minute

        Sends a message to all logged in users notifying them the server will be shutdown in 30 seconds

        Logs off all logged in users

        Reboot the Server every night at 4:00 AM

 

Note: TSSHUTDOWN.EXE is supplied natively with Microsoft Windows 2000.  You can download the above script and sleep.exe from:  http://www.dabcc.com/projectinabox/RebootScript.zip

 


3.       Click on the Start button   Settings Control Panel double click on the Scheduled Tasks icon double click on the Add Scheduled Task icon.

 

4.       Click Next

 

5.       Click Browse


 


6.       Browse to the reboot folder you create in step 1 and select shutdown.cmd and click Open

 

7.       Enter a name for the task and select how often you would like the task to run and click Next.

 

8.       Select the time and day you want the server to be rebooted at and click Next.


9.       Enter a username and password that has access to reboot the MetaFrame server and click Next.

 

10.    Click Finish

 

 

You have now successfully scheduled the server to automatically reboot at 4:00 AM every night.

DABCC Site Map | Legal Notice | Privacy Statement | All Rights Reserved for DABCC, Inc.