Windows Server 2000/2003 Thread, Exceptionally slow Startup and Shutdown scripts in Technical; Hello All,
When applying startup and shutdown scripts via group policy the machines just sit there on "Running Startup Scripts" ...
-
18th March 2010, 10:29 PM #1 Exceptionally slow Startup and Shutdown scripts
Hello All,
When applying startup and shutdown scripts via group policy the machines just sit there on "Running Startup Scripts" for what can only be described as an epoch.
They rarely seem to do anything at the end, but for example the following script, which removes a single profile, took half an hour at shutdown!
@echo off
title Remove InstallXP Profile
echo.
echo.
cls
echo.
echo.
echo Deleting InstallXP profile
echo This is an automated maintainence protocol enacted by IT Support
echo.
echo Please wait...
echo.
rmdir /q /s "C:\Documents and settings\InstallXP"
echo.
echo Operation complete.
exit
I've also set a startup script to install an MSI, as the AD way of deploying rarely seems to work for me:
@echo off
title Installing Driving Software Theory 2010 for Room 43
echo Installing your Driving Software Theory 2010 software
echo Please allow this product to install
echo This should take no longer than 5 minutes
echo If you have any problems please contact IT Support
echo.
echo Many Thanks!
echo.
echo Please wait...
msiexec /i "\\hsapps\Software\RemoteDeploy\DTS Driving Client 2010\DTS Driving Client 2010.msi" /passive
echo Installation Complete! Please look for this program on your start menu under "Work Related Learning"
pause
exit
Is there anything obvious that I've done wrong on these scripts?!!
Any ideas on why it's so slow?
Cheers,
-
-
IDG Tech News
-
19th March 2010, 09:23 AM #2 Well your startup script tells it to repair/reinstall on every boot.
I really would try and get GP deployment working if I was you as its really a much better option in. What kind of issues were you having?
-
Thanks to ZeroHour from:
Trapper (19th March 2010)
-
19th March 2010, 09:36 AM #3 if you packet sniff the traffic from the pc using a laptop connected to a hub connected to the pc. When the pc is misbehaving, sometimes there's clues as to what the problem might be. like the pc is looking for something on the network and can't find it.
if would help to check the presence of the driving theory software before running the installer. ie no need to run it if its already there and batch is quicker.
if not exist "c:\program files\driving\etc.exe" do run msi
-
Thanks to browolf from:
Trapper (19th March 2010)
SHARE: 
Similar Threads
-
By FN-GM in forum Windows
Replies: 5
Last Post: 18th January 2010, 06:15 PM
-
By Oops_my_bad in forum Windows Vista
Replies: 1
Last Post: 7th May 2009, 11:13 PM
-
By Little-Miss in forum Learning Network Manager
Replies: 17
Last Post: 27th January 2009, 01:45 PM
-
By djones in forum Windows
Replies: 10
Last Post: 27th February 2008, 12:18 AM
-
Replies: 18
Last Post: 16th November 2005, 11:06 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules