Complete Uninstallation Strategy for SIMATIC PCS 7 V8.2: Package Dependencies, Registry Cleanup, and System Image Restoration

Complete Uninstallation Strategy for SIMATIC PCS 7 V8.2: Package Dependencies, Registry Cleanup, and System Image Restoration

SIMATIC PCS 7 V8.2 does not include a single-click unified uninstaller that completely cleanses all bundled software packages, Microsoft SQL Server instances, and system drivers. Attempting manual uninstallation through Windows Programs and Features often leaves orphaned registry hives, S7DOS communication drivers, and database instances that corrupt subsequent installations. The official, industry-standard recommendation for returning an Engineering Station or OS Server to a pristine state is to restore the workstation from a pre-installation Acronis/Ghost image or perform a clean Windows operating system reinstallation.

Table of Contents

Architectural Complexity of SIMATIC PCS 7 Bundled Software

SIMATIC PCS 7 is not a single standalone program; it is a complex technological ecosystem comprising dozens of interdependent software packages installed deep into the Windows operating system. A standard PCS 7 V8.2 installation deploys:

  • STEP 7 V5.5 SP4 engineering core
  • Continuous Function Chart (CFC), SFC, and SCL compilers
  • SIMATIC WinCC V7.4 with customized SQL Server 2014 instances
  • SIMATIC NET communication protocol stacks and CP drivers
  • Automation License Manager (ALM)
  • S7DOS low-level communication subsystem
  • Specialized add-ons (SIMATIC BATCH, Route Control, PDM, Safety Matrix)

These packages share common system DLLs, COM/DCOM registrations, Windows services, and shared SQL database instances.

Why a Native One-Click Uninstaller Does Not Exist in PCS 7

Because of deep cross-package dependencies, removing PCS 7 cannot be achieved via a single 'Uninstall PCS 7' button:

  • Shared Core Infrastructure: Tools like Automation License Manager or Microsoft SQL Server may be shared with other non-PCS 7 software installed on the same machine.

  • Registry and Security Policies: PCS 7 modifies local Windows security policies, DCOM settings, user groups (SIMATIC HMI, SIMATIC NET), and registry keys under HKLM\SOFTWARE\Siemens.

  • Driver Stacks: Low-level communication drivers (S7DOS, Virtual Switch, SIMATIC NET adapters) hook deeply into the Windows network stack. Uncontrolled uninstallation frequently causes broken network routing and blue-screen system crashes.

Consequences of Incomplete Manual Component Removal

When engineers attempt to manually uninstall individual components through Windows Control Panel -> Programs and Features:

  • SQL Server Ghost Instances: Removing WinCC leaves the WINCC SQL Server instance behind, preventing a fresh install from initializing its database catalog.

  • Corrupted Inventory Catalog: The Siemens Central Inventory (Siemens\Automation\Inventory.xml) retains records of uninstalled components, causing future PCS 7 setups to report 'Component already installed' or 'Incompatible version detected'.

  • Lost Engineering Time: Troubleshooting a broken Windows registry often takes days, compared to minutes for restoring an OS image.

Step-by-Step Manual Uninstallation Order (When Reimaging is Impossible)

If reimaging the operating system is strictly impossible, adhere to this strict uninstallation sequence:

  1. Transfer Licenses: Transfer all active licenses to a USB stick or network license server using Automation License Manager.
  2. Run PCS 7 Setup: Insert PCS 7 V8.2 DVD 1. Launch Setup.exe, select Package Installation, and choose Uninstall to remove the high-level packages (APL, CFC, SFC, WinCC, BATCH).
  3. Uninstall Add-ons: In Windows Programs and Features, uninstall PDM, Route Control, and third-party tools.
  4. Uninstall WinCC and SQL Server: Manually uninstall WinCC components, followed by Microsoft SQL Server 2014 (all instances and shared features).
  5. Uninstall SIMATIC NET and Drivers: Remove SIMATIC NET PC Software, then Automation License Manager.
  6. Execute Siemens Cleanup Utility: Run Inventory.exe cleanup or Siemens Registry Cleaner where authorized by Siemens Support.
  7. Reboot: Perform multiple system reboots between steps.

PCS 7 Uninstallation Sequence and Cleanup Matrix

The following table specifies the mandatory order of component removal during manual cleanup:

Step NumberComponent CategorySpecific Packages to RemoveCritical Post-Action RequirementStep 1Commercial LicensesAutomation License Manager (ALM) License KeysTransfer all keys to offline mediaStep 2High-Level ApplicationsSIMATIC BATCH, Route Control, PDMReboot systemStep 3Engineering & SCADA CorePCS 7 Setup -> Remove CFC, SFC, SCL, WinCCReboot systemStep 4Database InstancesMicrosoft SQL Server 2014, SQL Native ClientDelete C:\Program Files\Microsoft SQL Server\ remnant foldersStep 5Communication & DriversSIMATIC NET PC Software, S7DOSClear Network Adapter bindingsStep 6System UtilitiesAutomation License Manager, Simatic LogonDelete C:\ProgramData\Siemens temp caches

Best Practices: System Imaging and Clean Baseline Maintenance

To eliminate uninstallation bottlenecks permanently:

  • The Gold Image Principle: Create an image of the clean Windows operating system immediately after installing Windows and hardware drivers, before installing any Siemens software.

  • Post-PCS 7 Golden Image: Create a second image immediately after installing and validating PCS 7.

  • Rapid Recovery: When a system becomes corrupted or needs a major version upgrade, restore the clean baseline image in under 15 minutes, guaranteeing 100% software stability.

Verification

Verify system state after uninstallation or reimaging:

  1. Programs and Features Audit: Check Windows Control Panel. Ensure zero Siemens packages remain.
  2. Services Audit: Open Windows Services (services.msc). Verify no CC..., S7..., or Simatic... services are running or registered.
  3. Fresh Setup Pre-Check: Insert the new PCS 7 installation media. Run Setup. Confirm that the system pre-check displays green checkmarks across all operating system and prerequisite checks without conflict warnings.

Limitations and Operational Precautions

Observe these critical precautions:

  • License Safeguard: Always transfer licenses to offline media before initiating uninstallation or reimaging. Formatting a drive destroys untransferred floating and single licenses.

  • Commercial Accuracy Disclaimer: Software order numbers (MLFBs), package structures, and hardware capacity prerequisites vary across PCS 7 versions and hardware platforms. System integrators must confirm exact software entitlements and licensing requirements against the official Siemens Catalog CA 01 and obtain an authorized Siemens distributor quotation prior to purchasing.

Engineer FAQ

Must I transfer my Automation License Manager licenses before reimaging?

Yes. Licenses residing on the hard drive will be permanently erased if the partition is formatted or reimaged.

Why does a new PCS 7 installation fail after manual removal of an older version?

Because lingering Siemens registry entries in HKLM and remnant SQL Server databases trick the installer into believing older components are still active.

How long does restoring a Windows baseline image take compared to manual uninstallation?

Restoring a pre-configured image takes 10 to 15 minutes, whereas manual component uninstallation and registry cleaning often consumes 4 to 8 hours with uncertain reliability.

Technical References

Related Articles

Related Tags

  • SIMATIC PCS 7
  • Uninstallation
  • WinCC V7.4
  • SQL Server 2014
  • System Image
  • Reinstallation
  • Operating System
6 respuestas