Microsoft excel cannot use object linking and embedding

I"ve a Powershell manuscript to put up user identity of a 32bits DCOM application (Excel 32bits). To carry out that, I"ve supplied a sample of Microsoft Windows SDK for Windows 7 that I"ve compiled DComPerm.exe.

New-Item -Path "$RegPath" -Name "$AppID" -Value "Microsoft Excel Application"Dcomp.exe -runas "$appId" $DomainUser $PasswordEverything appears excellent, just that I intend Excel to throw this exemption as soon as I open it up:

“Cannot usage object linking and also embedding”


This occur only if I manually form mmc comexp.msc /32 and also then browse the component service consingle till I click DCOM Config.

You watching: Microsoft excel cannot use object linking and embedding

(Which is normal I"m running 32-bit Excel application on a 64-little Windows machine)

i don’t recognize exactly how to script that last step.

excel windows powershell-4.0 dcom
Improve this question
edited Jul 26 "19 at 14:32

18.9k4848 gold badges6565 silver badges8585 bronze badges
asked Oct 17 "18 at 19:02

rody goganrody gogan
2133 bronze badges
Add a comment |


Active Oldest Votes

Kcurrently someone that deserve to answer? Share a attach to this question using email, Twitter, or Facebook.

Your Answer

Thanks for contributing a response to Stack Overflow!

Please be sure to answer the question. Provide details and also share your research!

But avoid

Asking for help, clarification, or responding to various other answers.Making statements based upon opinion; ago them up via referrals or personal endure.

See more: Dell Laptop Beeping And Not Turning On, Solved: Laptop Won'T Turn On, But Beeps Loudly

To learn even more, see our tips on creating good answers.

See more: Blinking Underscore On Boot Windows 10, Windows 10 Black Screen With Flashing Underscore

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Facebook
Sign up using Email and Password

Blog post as a guest

Email Required, yet never shown

Message as a guest


Required, yet never before shown

Article Your Answer Discard

By clicking “Blog post Your Answer”, you agree to our regards to organization, privacy policy and also cookie plan

Browse various other inquiries tagged excel home windows powershell-4.0 dcom or ask your very own question.

The Overflow Blog
Featured on Meta
How do I create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office?
ASP.NET application error as soon as run in Win Server 2008 64-little
How do I install and also use cURL on Windows?
Microsoft Office Interop Excel doesn't save in Windows server 2008
How to usage Regular Expressions (Regex) in Microsoft Excel both in-cell and also loops
IIS Cannot Get Access to an Excel Data for Users, But is OK for Me. Why?
Microsoft Excel cannot accessibility the file “…”. Tright here are several feasible factors Windows Server 2008 R2 via Microsoft Office 2010
Different excel CLSID's for Excel reason problems with Interop in C# regime
Converting Excel Document to PDF Using Interop
Hot Network Questions more hot questions

Concern feed
Subscribe to RSS
Question feed To subscribe to this RSS feed, copy and paste this URL right into your RSS reader.


Stack Overcirculation
Stack Exchange Network-related
site design / logo © 2021 Stack Exadjust Inc; user contributions licensed under cc by-sa. rev2021.4.7.39017

Stack Overcirculation works best through JavaScript allowed

Your privacy

By clicking “Accept all cookies”, you agree Stack Exreadjust can save cookies on your gadget and disclose indevelopment in accordance through our Cookie Policy.