Alan's Blog

"Yeah. I wrote a script that will do that."

Menu
  • About My Blog
Menu

Fixing SCCM 1603 Errors

Posted on September 3, 2010May 15, 2022 by Alan

I was recently forwarded a link from Richard Balsley’s blog about 1603 Errors in SCCM, see http://richardbalsley.com/sccm-software-distribution-fails-with-error-code-1603-in-execmgr-log.  He characterizes the problem like this: “When a local administrator was logged on during runtime, the application would install fine. It would also install fine if no one was logged on. However if a user was logged on without admin rights, we’d get the 1603 error.”

Richard shows how to look up the AppID in DCOM and provides a script to delete the RunAs key, which resets launch permissions to The Launching User.

I decided to further automate this process.  InstallShieldDCOMFix.vbs uses WMI to enumerate the AppID, and then delete the associated RunAs key.

If you run this with no arguments the local machine will be fixed.  Use cscript.exe //b InstallShieldDcomFix.vbs or comment out Wscript.Echo to avoid popups from messages.  You can also run this against remote computers using the computername as an argument, such as cscript.exe //b //nologo  InstallShieldDcomFix.vbs computername

Rename file from _vbs.txt to .vbs.

 

Tags: DCOM, SCCM

Leave a Reply

You must be logged in to post a comment.

Search

Please Note

All the scripts are saved as .txt files. Newer files have a “View Script” button which will let you save or open a script in notepad. For earlier posts, the easiest way to download with IE is to right click on the link and use “Save Target As”. Rename file from Name_ext.txt to Name.ext.

To see a full post after searching, please click on the title.

PowerShell Scripts were written with version 3 or later.

https connections are supported.

All new users accounts must be approved, as are comments. Please be patient.  If you find a post error or a script which doesn’t work as expected, I appreciate being notified.  My email is my first name at the domain name, and you are welcome to contact me that way.

Tags

1E ACLS Active Directory ActiveDirectory ADSI Advanced Functions Audit Change Administrator Password COMObject Computer Groups DateTime Desktop DNS Excel FileScriptingObject Forms General GPO GPS Group Policy Hacks ISE Lockout logons NAV740 Nessus OU OU permissions Outlook Pick Folder Power PowerShell Powershell Scriptlets RDP SCCM schedule reboot Scripting Security Shell.Application user information VBA Windows Update WMI WordPress WPF

Categories

akaplan.com

  • Back to Home Page

Archives

Scripting Sites

  • A Big Pile of Small Things
  • Adam, the Automator
  • Art of the DBA
  • Ashley McGlone
  • Boe Prox
  • Carlo Mancini
  • DexterPOSH
  • Doug Finke
  • Jaap Brasser's Blog
  • JeffOps The Scripting Dutchman
  • Jonathan Medd's Blog
  • Keith Hill's Blog
  • LazyWinAdmin
  • Nana Lakshmanan
  • PowerShell Magazine
  • PowerShell Team Blog
  • PowerShell.org
  • PwrShell.net
  • Richard Siddaway's Blog
  • Ryan Yates' Blog
  • Skatterbrainz
  • The Lonely Administrator

SQL Site

  • Art of the DBA

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 Alan's Blog | Theme by SuperbThemes

Terms and Conditions - Privacy Policy