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

Symantec Endpoint Protection Manager Upgrade failed "The installation cannot finish because it detected that one or more SEPM apps were running"

Created: 03 Mar 2014 • Updated: 19 Mar 2014 | 4 comments
Language Translations
Chetan Savade's picture
+1 1 Vote
Login to vote

Hello Everyone,

It's a very common practice for System administrators to disconnect the active session and reconnect it using 'mstsc' command. By doing this, many sessions can get activated in the background. It happens especially when there are couple of administrators for single server.

If you attempted to perform SEPM upgrade when another Symantec Endpoint Protection Manager(SEPM) session is running in the background, you may get the following error message:

"The installation cannot finish because it detected that one or more SEPM apps were running"

OR

Even can get following error message "To install the Symantec Endpoint Protection Manager from a remote desktop connection, the remote desktop connection must be session 0. You are currently running a differernt session. You can change you current session to session 0".

Check the screenshot for more details

All the active sessions will be disconnected once the System reboots. But, it is not a practical solution when you use a critical server.

A better solution is to logoff that session.

Check this screenshot for your` reference.

Session 0_3.png

You should connect to the '0' session to continue with the upgrade process.

1) To connect '0' session, start the Task Manager and select the Users tab.The 'Users' tab shows all the active connections. The following screenshot shows two active sessions listed with the Server:

Session 0-1_0.jpg

In the 'Users' tab all the active connections will be listed.

Right-click on ID-0 and select Connect. It will connect to particular session.

Session 0-2_0.png

3) Right-click on the other session & select Log Off. You can thus close the active sessions one by one.

Sometimes, the session 0 may not be available. In that case, you need to initiate a new session:

  1. Click the Start button and then click Run.
  2. Type the following and click OK.

mstsc /admin
This should take you to the 0 session.

MSTSC.jpg

Please note that in Windows Server 2003, you can start the RDC client (Mstsc.exe) by using the /console or /admin switch to remotely connect to the physical console session on the server (also known as session ID=0). However, in Windows Server 2008 or Windows Server 2008 R2, the /console switch has been deprecated. In Windows Server 2008 and Windows Server 2008 R2, session 0 is a non-interactive session that is reserved for services.
For more information, please visit the following Microsoft article:  http://support.microsoft.com/kb/947723

Screenshot for the reference:

Untitled_0.jpg

You can use the new /admin switch to remotely connect to a Windows Server 2008-based server for administrative purposes. The /admin switch is introduced in RDC 6.1 so included in the following operating systems:

  • Windows Server 2008
  • Windows Server 2008 R2
  • Windows Vista Service Pack 1 (SP1)
  • Windows XP Service Pack 3 (SP3)

Also can verify sesion 0 using command prompt.

To ensure that you are on the console (Session ID=0) of the server, please run the command "query session" from a Command Prompt.

If you get an error message like "Symantec Endpoint Protection Manager upgrade rolls back: "SESM CA: files still locked...sleeping 1 second"

Refer the steps suggested above or you can go through the following Symantec KB article.

http://www.symantec.com/docs/TECH142215

I hope it's informative.

Comments 4 CommentsJump to latest comment

JUSTICE's picture

BRAVO ZULU!!!!!

Marcus Sebastian Payne
"So cyberspace is real. And so are the risks that come with it."
- President Barack Obama

0
Login to vote
Chetan Savade's picture

Good to know that it can be done using VBS script as well.
 

Chetan Savade
Sr.Technical Support Engineer, Endpoint Security
Enterprise Technical Support
CCNA | CCNP | MCSE | SCTS |

Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.<

0
Login to vote