Endpoint Protection

 View Only
Expand all | Collapse all

How to force SEP client installation to restart

Migration User

Migration UserJun 03, 2009 04:43 AM

Migration User

Migration UserJun 03, 2009 11:31 AM

  • 1.  How to force SEP client installation to restart

    Posted Jun 02, 2009 01:51 AM
    I'm using the Migration and Deployment Wizard to install a client installation package that I've created.  After the installation, a window will popup asking the user what they'd like to do.  How can I force the installation to automatically restart the PC?  Thanks.


  • 2.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 02:27 AM
    This thread may help you: https://www-secure.symantec.com/connect/forums/disable-scan-after-install

    What I normally do, is from a domain admin command line:
    shutdown /f /r /t 0 /m computername

    You can just go to a command line and type in shutdown /? to view all the different switch settings.


  • 3.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 03:04 AM
    RickJDS, thanks for the reply.  I've seen that thread prior to creating this one.  I'm not sure how to use the msi file to deploy the client to several computers at the same time.  Can the shutdown command restart multiple computers at the same time?  Is there an easier way like editing the setup.ini file and to force the computer to restart?  Thanks in advance.


  • 4.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 03:50 AM
    Hi

    The moment installation is finished u will be able to see the clients in the Client tab of Managemnet consol. Click the desired group and select the client from it and right click on to it and run a command to restatrt.
    This will manually restart the client.
    Ajit


  • 5.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 03:57 AM
    Lester,

    The shutdown commad is for a single computer shutdown.

    What I'm about to write, I have no documentation on nor do I know if it works:

    Export your installation package and uncheck the option to create a single .EXE file (you want to edit the INI file).
    Edit the SETUP.INI file in your test installation package.  In the [STARTUP] section, change the line that ends with REBOOT=ReallySupress to REBOOT=Force

    Change the other option of SupressReboot=Y to SupressReboot=N

    TEST IT ON A NON-PRODUCTION WORKSTATION.  This is my best guess on these switches, but I have no way of knowing if my assumptions are correct.  I'm sure someone will correct me if I'm wrong.


  • 6.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 04:44 AM
    Rick Thanks for the info.

    Do u have the document as i try to find it out in KB but failed. This question fromLester looks simple but it is really an important one. It will help others a lot.



  • 7.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 04:49 AM
    Ajitha,

    Please read my post again.  I do *not* know if what I posted will work or not.  I only assume it will based on the MSI command line switches and that the settings I suggested to change seem to match the MSI command line parameters.

    I can't state this enough: PLEASE TEST THIS ON A NON-PRODUCTION WORKSTATION.  Worse case scenario, you will have to reload Windows from scratch (or an image).


  • 8.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 04:56 AM
    Hi Rick

    I ahve not tested it yet but i will soon test is , i have mt test environment already ready.  I will update u soon and if needed i may ask u some queries to clear it.
    Thanks!!!


  • 9.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 04:59 AM
    RickJDS, there is no REBOOT entry under [STARTUP] but there is SupressReboot.  Should I create a new entry?  Can you double check if you're setup.ini file has REBOOT entry?  Thank you.


  • 10.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 04:59 AM
    Ajitjha,

    Thanks for testing this, I suggested it in the past but never got clarification if I was off base (to my knowledge).  One option to play with is the SupressReboot= try it with Y and N to see if that makes a difference.


  • 11.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 05:04 AM
    RickJDS, I've already tried it both with Y and N but I get the same window prompting the user to select a choice.  However, I have not yet tried adding REBOOT=FORCE to setup.ini file.  Will try this and let you know.  Thank you both for helping. =)


  • 12.  RE: How to force SEP client installation to restart
    Best Answer

    Posted Jun 02, 2009 05:06 AM
    Lester, don't add that line!  Change the line:
    CmdLine=/qn /l*v "%TEMP%\SEP_INST.LOG" REBOOT=ReallySuppress

    to this:

    CmdLine=/qn /l*v "%TEMP%\SEP_INST.LOG" REBOOT=Force


  • 13.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 05:24 AM
    This is another possible solution if editing the setup.ini file does not work.  Thanks, Ajitjha.


  • 14.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 06:47 AM
    RickJDS, you're the man.  It worked!  The only thing is that, it only works if you use the /qn (no UI).  When I tried /qb (basic UI) with SuppressReboot set to N, a window popped up asking for reboot choices and it didn't reboot at all.  I think I'm going to use both recommendations.  Thank you very much guys. =)




  • 15.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 06:58 AM
    Lester,

    I'm really glad it worked out for you and I now can affirm these switches.  I'm sorry I didn't mention that my installation package was set to a silent installation procedure but you figured it out.  Thanks so much for testing this as I was hoping this would be the resolution people are looking for to install/upgrade and reboot all in one step.


  • 16.  RE: How to force SEP client installation to restart

    Posted Jun 02, 2009 08:26 PM
    Hi RickJDS, we now know that we can force the client PC to reboot after SEP installation but only when using the /qn switch.  The most ideal for me is to show a basic UI (/qb) so users know that software installation is currently in progress (this will prevent them from using their PC) and then do a reboot.  Do you think this is also possible?


  • 17.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 01:19 AM
    Lester - sorry to piggy back here, but I want to accomplish the same thing. Could you PM me the exact line you had to edit/add? I don't follow your statement about it only working with the /qn (no UI)...thanks!


  • 18.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 01:37 AM
    Jon, I might as well post it here. =)

    Open the setup.ini file from the extracted client install package and look under [STARTUP]
    1. CmdLine=/qb /l*v "%TEMP%\SEP_INST.LOG"
    Change to CmdLine=/qn /l*v "%TEMP%\SEP_INST.LOG" REBOOT=Force
    2. SuppressReboot=Y
    Change to SuppressReboot=N

    The PC doesn't reboot with the /qb (basic UI).  You have to change /qb to /qn for the PC to reboot.  I'm still looking for a way to reboot the PC with /qb.




  • 19.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 04:43 AM
    Lester,

    Have you tried /qb with SuppressReboot=Y ?


  • 20.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 05:36 AM
    Lester, I kind of thought that option would supress (or not) the pop up window to ask if you want to reboot.  I could be wrong.


  • 21.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 05:41 AM
    Rick, I wanted to but it doesn't make sense to me.  I'm not a native English speaker.  To me, supress means to prevent  or to stop something.  If I would translate SuppressReboot=Y to sentence, it would sound like "Prevent PC from rebooting?  Yes."  But what I actually want to do is to force the PC to reboot.  Anyway, I'll try it if I have time.


  • 22.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 06:05 AM
    Sorry Rick, it didn't work.  How about if I remove the SuppressReboot line?  I wonder what will happen?


  • 23.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 06:19 AM
    Lester, first of all, thank you so much for dilligently testing this as I have not had the time to do so (most of my replies are at late night outside of work, it's just after midnight now...).  I don't know if removing that line will work as I'm sure that option has a default answer if not defined (again, I could be wrong).  Keep testing away if you have the time and thanks for your contribution to the SEP site!


  • 24.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 06:29 AM
    I removed the SuppressReboot line but the prompt still shows.


  • 25.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 11:31 AM
    u are always in Symantec tech community for soltions


  • 26.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 04:06 PM
    Thanks Lester. What is the difference between qb and qn? Doesn't this accomplish what you want? Sorry, pretty new to all of this. This is a very interesting thread, thanks for letting me tag along :)


  • 27.  RE: How to force SEP client installation to restart

    Posted Jun 03, 2009 08:53 PM
    Hi Jon, /qb displays a basic user interface.  The basic interface may display a progress bar, percent complete or the current installation phase.  The /qn does not display anything on the screen.  You'll only recognize that SEP is being installed by looking at the hard disk LED.   The disadvantage of  /qn is that users may start doing something during the installation like edit a spreadsheet.  They may lose whatever changes they made to the spreadsheet if the PC automatically reboots after the installation.  That is the reason why I said the most ideal configuration for me is to use /qb and force the PC to restart afterwards but I haven't found a solution.  I'm really thankful to RickJDS for his great support.