Siemens COMOS Administration: comos.exe Access and Admin Login

David Krause12 min read
Other TopicSiemensTechnical Reference
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Overview: Why "Comos Administration.exe" Does Not Exist

Engineers searching for a file named Comos Administration.exe on the Siemens COMOS installation media or under the installation root will not find one. The COMOS platform uses a single application binary, comos.exe, located in the bin directory of the COMOS installation. The "Administrator" or "Administration" capabilities of the platform are not delivered as a separate executable; they are menu states inside the main comos.exe process, gated by user functional rights and the database login context. The confusion is amplified because installation dialogs expose a "Comos Administration" feature checkbox, and the COMOS DokuPack references an "Administration" manual covering administrative workflows. Both lead engineers to expect a discrete executable that does not actually ship with the product.

This article documents the real binary layout, the role-based access control that activates the administrator menu, the /MD:v command-line switch that explicitly suppresses administrative elevation, the default @setup account in the iDB, and the "universal login" used to seed and manage a fresh COMOS database. The reference is intended for system administrators, plant engineers, and IT support staff who are commissioning COMOS for the first time or inheriting an installation from a previous owner.

COMOS Platform Architecture: Where the Binary Lives

COMOS is a client-server plant lifecycle management platform with three logical tiers: the COMOS application client (comos.exe and supporting DLLs), the COMOS database (typically an iDB on SQL Server or Oracle), and the COMOS file server (project documents, drawings, and the DokuPack). Only the client binary comos.exe is launched by the user; the rest of the platform is reached through that single process via menu navigation, dialogs, and COMOS-internal remote procedure calls.

The standard installation layout (default paths) is summarized below. Paths are platform-dependent and may be relocated during install.

Component Default Path (32-bit / 64-bit Windows) Role
COMOS application C:\Program Files (x86)\COMOS\<Version>\bin\comos.exe Main client; the only executable an end user launches.
COMOS file server share \\<fileserver>\COMOS\Projects\<ProjectName>\ Holds project documents, drawings, DokuPack files.
iDB database SQL Server instance or Oracle schema named per project Stores engineering objects, attributes, revisions.
DokuPack \\<fileserver>\COMOS\DokuPack\ Vendor catalogs, standard documentation, manuals.
Setup / DBM C:\Program Files (x86)\COMOS\<Version>\bin\DBM.exe (varies) Database manager utilities for iDB administration.

The official COMOS Platform Administration Operating Manual (07/2019, V10.3.2) is the authoritative reference for the file layout, the iDB, the file server, and the application binaries that ship with a release. Refer to that PDF for version-specific path and registry key information.

The "Comos Administration" Installation Checkbox

During setup, the Select Components dialog of the COMOS installer does present an option labeled Comos Administration. Selecting it enables the administrative menu items, scripts, and DokuPack sections that are required to perform platform administration tasks such as user management, role assignment, database connection setup, and the import of vendor catalogs. Selecting it does not install a separate Administration.exe; it controls which features inside the single comos.exe binary are exposed to the user.

Common administrative entry points inside the running comos.exe process include:

  • Extra > Administration (or the top-level Administration menu when rights permit)
  • Extra > Database > iDB Administration
  • Extra > User Management > Users and Groups
  • Extra > COMOS > Import / Export / Update
  • Extra > PAA (Plant Analysis and Administration) when the PAA module is licensed

If these menu items are missing or greyed out, the cause is not a missing executable; it is a missing license, a missing component-selection during install, or — most commonly — a missing functional right for the logged-in user.

User Functional Rights: The Real Access Control

COMOS uses a granular role-based access model. Administrative commands are protected by functional rights such as FB.ADMIN, FB.USERMANAGEMENT, FB.DBADMIN, and FB.PAA. These rights are assigned to users and groups inside the iDB, not at the operating-system level. Until the running comos.exe process has loaded a user identity with the required rights, the Administrator menu is hidden or disabled.

Functional rights are typically assigned in Extra > Administration > Users and Groups (or in legacy builds: Extra > User Management). Rights propagate through group membership; a user added to the @Admins group inherits every right assigned to that group. The @ prefix marks built-in system objects that the iDB ships with.

Critical: Functional rights are evaluated after the database connection and login are complete. Logging in with insufficient rights — even as a local Windows administrator — does not elevate the COMOS session. The session runs in a sandboxed role and the Administration menu will not appear.

Command-Line Parameters: /MD:v and Switches That Affect Admin Mode

comos.exe accepts several startup switches that influence how the application starts and which menus are available. The most important for the administrator question is /MD:v.

Switch Effect Typical Use
/MD:v Starts COMOS in "standard user" or non-administrative mode. Forces the Administration menu to be inactive even if the user has rights. Ends users on operator workstations, prevents accidental schema changes.
/MD:a Starts COMOS with administrator menus active where the underlying rights permit. Admin workstations, engineering lead PCs.
/DB:<connstring> Pre-selects a database connection string. Kiosk deployments, automated logins.
/P:<project> Pre-selects a project on the file server. Direct project open without browsing.
/U:<user> / /PW:<password> Pre-fills a username / password. Use only in controlled, non-production contexts. Lab installs, scripted testing.
/SILENT Suppresses splash and some dialogs. Startup scripts.

The actual switch names and their availability depend on the COMOS version. Always verify against the manual for the installed release; the V10.3.2 Administration manual and the legacy Administration manual cover the switches in detail.

When troubleshooting "the Administrator menu is greyed out", first check the shortcut the user is launching. Many sites ship a pre-configured shortcut that includes /MD:v to lock down the operator workstation. Removing that switch — or creating a separate admin shortcut without it — is often the immediate fix.

Default Accounts: @setup and the Universal Login

A fresh iDB shipped with the COMOS installation media contains a single built-in administrative account: @setup. This account is the seed identity used to bootstrap the database: it can create the first real users, assign functional rights, set up the @Admins group, and configure the project structure. The @ prefix and the account name are reserved at the iDB level and should not be renamed or deleted, because COMOS itself looks for them during database verification and upgrade operations.

To log in as @setup for the first time:

  1. Launch comos.exe.
  2. In the login dialog, click Universal Login (sometimes labeled Universal or Generic Login) instead of selecting a specific Windows / SQL user.
  3. Enter @setup as the user name. The default password is empty or as documented in the iDB seed file shipped with the release — confirm the current default in the release notes before relying on it.
  4. Select the target iDB instance and the project to open.

After the database opens, the @setup user will have full administrative rights and the Administration menu will be active for the rest of the session. The "greyed out by default" behavior observed before opening the database is by design: COMOS does not know which database or which user's rights apply until the login completes, so the menu is suppressed until that context is resolved.

Security: Change the @setup password on every new iDB before any other user logs in. Leaving the seed account with the factory default in a production or pilot system is a common audit finding.

Activating the Administrator Menu: The Decision Point

The decision tree for whether the Administration menu is active, hidden, or greyed out inside comos.exe can be modeled as a small state machine. The state is determined at session start and recomputed after database open.

comos.exe launchedread command-line /MD:v present? Admin menu forced OFF(operator mode) yes no Login dialogDB + user selected User lacks adminfunctional rights User has adminrights + component Admin menu ACTIVEsession continues Admin menu GREYEDuntil DB opens

The critical path is: launchread switchesresolve /MD:vshow loginopen iDBload user functional rightsenable or grey out Administration menu. If any step in the middle fails, the menu stays inactive.

PAA: The Dedicated Administration Module

Many users looking for a standalone "COMOS Administration" executable are actually looking for PAA — Plant Analysis and Administration, an optional module of the COMOS platform that adds enterprise-level administration, reporting, and analysis features. PAA is licensed separately, installed via its own component checkbox in the setup dialog, and activated by a separate functional right (FB.PAA). It does not ship its own .exe either; it integrates into the comos.exe menu tree under Extra > PAA.

Functional differences between the base Administration menus and PAA:

Feature Base comos.exe Administration PAA module
User / group management Yes Yes (extended)
iDB schema maintenance Yes Yes
Plant KPI / analysis reports No Yes
Cross-project reporting Limited Yes
Workflow / approval configuration Basic Advanced
License cost Included Separate SKU

When a colleague refers to "COMOS Administration", confirm whether they mean the base comos.exe Administration menu or the PAA module. The remedies differ: missing base menus point to a rights / install-component problem; missing PAA menus point to a licensing / module-installation problem.

Version-Specific Notes and DokuPack

COMOS has shipped under several major version lines (V9.1, V10.0, V10.1, V10.2, V10.3.x, V10.4). Each release has its own Administration manual. Always consult the manual that matches the installed version; the location of user-rights dialogs, the names of the functional-right flags, and the exact command-line switches can change between releases.

The DokuPack installed on the COMOS file server is searchable from inside comos.exe via the Help menu. Searching for "administration", "functional rights", or "user management" in the DokuPack will surface the version-correct procedure.

Troubleshooting: Admin Menu Missing or Greyed Out

Symptom Likely Root Cause Verification Fix
Administration menu is greyed out before any database is opened COMOS cannot resolve rights without a logged-in user Expected behavior Open a database, log in, then re-check the menu.
Administration menu is greyed out after database open Logged-in user lacks the relevant functional rights Check user → group membership; verify FB.ADMIN etc. Log in as @setup (Universal Login) and grant the rights, or add the user to @Admins.
Administration menu is completely missing "Comos Administration" component was unchecked during install Re-run setup, review component list Modify the installation, tick "Comos Administration", complete install.
Administrator menu hidden when a shortcut with /MD:v is used Switch forces non-admin mode Inspect the shortcut target Create a separate admin shortcut without /MD:v, or change the existing one.
PAA submenu missing PAA module not licensed or not installed Check license file, run setup, review components Install PAA component and apply the PAA license key.
User logs in but right is not applied iDB cache or right propagation not refreshed Log out, log in again; restart comos.exe Re-login or restart the client to force a re-read of the iDB rights table.
Cannot find @setup account iDB has been migrated / rebuilt; seed account renamed Inspect iDB user table via DBM or SQL tool Restore seed account per the manual, or use a delegated admin user.
Universal Login option not present Login mode configured server-side to disallow it Check iDB login mode in DBM Enable Universal Login in iDB configuration, then retry.

Verification Checklist After Restoring Admin Access

  1. Confirm the Comos Administration component is installed: re-run setup in modify mode and inspect the components list.
  2. Launch comos.exe with a shortcut that does not contain /MD:v.
  3. Click Universal Login and log in as @setup with the rotated password.
  4. Open the target iDB and project.
  5. Verify the Extra > Administration menu is active (not greyed out).
  6. Open Users and Groups and confirm the @Admins group exists and contains the expected service accounts.
  7. If PAA is licensed, verify Extra > PAA appears and the relevant reports are accessible.
  8. Log out, log in as a normal end user, and confirm the Administration menu is greyed out — proving the rights model is working.
  9. Document the admin shortcut, the @setup password location, and the license server for the next engineer.

Field Notes and Common Pitfalls

  • Searching the wrong media. Many Siemens downloads split the installer into multiple parts. The Administration component is in the same package as the main client, not a separate download. If you only see the base client files, you may have downloaded the runtime-only package.
  • Confusing COMOS with SIMATIC. Comos.XIF.exe (referenced in the older COMOS Administration manual) is a SIMATIC <-> COMOS data-exchange utility, not the administration tool. It exchanges tags and I/O lists between the two worlds.
  • Assuming admin rights in Windows imply admin rights in COMOS. They do not. The COMOS rights model is enforced inside the iDB; local or domain admin privileges are not relevant.
  • Working in a copy of the iDB. Restoring @setup on a copy for testing is fine, but never reuse the production seed password on test systems that may be backed up to shared storage.
  • Skipping the DokuPack. The DokuPack on the file server contains the most version-accurate procedures; the manuals on Siemens Support are time-stamped snapshots.

FAQ

Is there a Comos Administration.exe I can run directly?

No. COMOS does not ship a standalone Administration.exe. All administrative functions are provided inside the single comos.exe binary located in the installation's bin directory. The "Comos Administration" checkbox during setup only enables menus inside comos.exe.

Why is the Administration menu greyed out after I open the database?

The logged-in user does not hold the required functional rights (for example FB.ADMIN or membership in @Admins). Log in as @setup via Universal Login and assign the rights, or add the user to the administrators group.

What does the /MD:v command-line switch do?

It forces COMOS to start in non-administrative mode even for users that would otherwise have admin rights. It is typically used on operator workstations to lock down the installation. Remove it from the shortcut to restore admin menu visibility.

What is the @setup account used for?

@setup is the built-in seed administrator account shipped in a fresh iDB. It is used to bootstrap the database: create the first real users, assign functional rights, and configure groups. Change its default password on every new iDB before any other user logs in.

How does PAA differ from the base Administration menus?

Base Administration in comos.exe covers user management, iDB schema maintenance, and standard project setup. PAA (Plant Analysis and Administration) is a separately licensed module that adds cross-project reporting, advanced workflow configuration, and plant KPI analysis inside the same comos.exe binary.

Back to blog