Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

How to create VBscripts for Delay at system boot for Altiris

Created: 07 Apr 2011 • Updated: 12 Apr 2011 | 8 comments
This issue has been solved. See solution.

I have a lots of user complain that when machine reboot it take a long time, and I realized that McAfee and Altiris are affecting each other, so I want let the McAfee boot first for 5 minites then Altiris Agent will be boot, I know "HOWTO10387" talk about delay at system boot, so here is the key

HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent, on the right hand site shwoing Delay at System Boot(sec), right now is 0, I need to change to 300 this will be 300 seconds for 5 minutes.

How to create script for change the value from 0 to 300, once I have that scripts then I can deploy to all my users.

Thanks for advance

Lillian

Comments 8 CommentsJump to latest comment

andykn101's picture

Run

 reg add "HKLM\Software\Altiris\Altiris Agent" /v "Delay at system boot (secs)" /d 300 /f 

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.

llian's picture

I save this file as Altiris.bat, then double click the file, so the registry key already change to 300.

Before I change, please see the AltirisDelayOriginal.gif from the attachment. the type is REG_DWORD

After I run this file, then registry change as attacj,emt AltirisDelayAfer.gif. type is REG_SIZE

Is this matter?

Thanks

Lillian

AltirisDelayOrigianal.gif AltirisDelayAfter.gif
EdT's picture

Try:

reg add "HKLM\Software\Altiris\Altiris Agent" /v "Delay at system boot (secs)" /t REG_DWORD /d 300 /f

What I cannot recall is whether the value 300 is interpreted as the decimal value or as a hex value, but it should soon become evident!  (if you find 300 evaluates to 768 seconds, then try 12C instead)

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

llian's picture

I use your command and it came out exactly what I need, please see attachment

Thanks again

Lillian

AltirisDelayBoot.gif
mclemson's picture

Why not use blockouts?  Settings > Agents/Plug-ins > Targeted Agent Settings, Blockout tab, check the box and add a time in the two boxes at the right (e.g. 00:05 for 5 minutes), then click Save changes.  With no blockout times defined and the box checked, Altiris will not communicate for the first five minutes during startup.

Mike Clemson, Senior Systems Engineer, ASC
Intuitive Technology Group -- Symantec Platinum Partner
intuitivetech.com

llian's picture

I found the blockout tab you are referring to, if I use this one then I don't need to use the previous one change from registry, am I correct?

this look like easier.

Thanks

Lillian

mclemson's picture

Correct.  Blockout blocks all communication, so if McAfee is actually interfering with the Altiris service itself, you'd want to continue to use the registry method.  But if it's a traffic and activity thing (downloading updates or programs, running detection checks, inventories, or tasks), this will help.

Remember to also schedule things for off hours when possible, and use infrequent inventory schedules (delta weekly, full monthly) to avoid excessive burden on clients and the NS.

Mike Clemson, Senior Systems Engineer, ASC
Intuitive Technology Group -- Symantec Platinum Partner
intuitivetech.com

SOLUTION
llian's picture

Thank you so much for all the info, I will use this much better than change the registry key