[THIN] Rebooting servers, sometimes hangs

Hi

We have scripts running on each server to automatically reboot every other =
day. Sometimes one of them hangs while shutting down, it has logged of the =
server, but just the last piece before restart keeps hanging. These are =
all nt4 sp6 servers.=20

This is a part of the script:=20

        ECHO Logging Off Users.>>c:\wtsrv\batch\restart.log
        ECHO y | reset session ica-tcp>>c:\wtsrv\batch\restart.log
        sleep 120>>c:\wtsrv\batch\restart.log

        echo y | Del c:\Temp\*.* /S
        rd c:\Temp\ /s /q
        md c:\Temp
        Cacls c:\Temp /E /P EveryOne:F

        ECHO Shutting down system>>c:\wtsrv\batch\restart.log
        ECHO To abort shutdown type shutdown /l /a>>c:\wtsrv\batch\restart.=
log
        r:\batch\shutdown /l /r /y


Anyone tips or hints why this might happen?

Gabrie


*********************************************************
This Week's Sponsor - RTO Software / TScale
TScale increases terminal server capacity. 
Get 30-40% more users per server to save $$$ and time. 
Add users now! - not more servers. If you?re using Citrix, 
you must learn about TScale!  Free 30-day eval:
http://www.rtosoft.com/Enter.asp?ID=79
**********************************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: