R
Rody-gogan
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545; min-height: 14.0px} span.s1 {text-decoration: underline ; color: #e4af0a} </style>
Hi All,
I've a Powershell script to set up user identity of a 32bits DCOM application (Excel 32bits). To do that, Or, I've used a sample of Microsoft Windows SDK for Windows 7 that I compiled DComPerm.exe.
New-Item -Path "$RegPath" -Name "$AppID" -Value "Microsoft Excel Application"
Dcomp.exe -runas "$appId" $DomainUser $Password
Everything seems good, just that I expect Excel to throw this exception when I open it up:
“Cannot use object linking and embedding”
This happen only if I manually type mmc comexp.msc /32 and then browse the component service console till I click on DCOM Config.
(Which is normal I'm running 32 bits excel application on a 64bits windows machine)
Don’t know how to script that last step, any help will be appreciated ?
Regards,
Continue reading...
Hi All,
I've a Powershell script to set up user identity of a 32bits DCOM application (Excel 32bits). To do that, Or, I've used a sample of Microsoft Windows SDK for Windows 7 that I compiled DComPerm.exe.
New-Item -Path "$RegPath" -Name "$AppID" -Value "Microsoft Excel Application"
Dcomp.exe -runas "$appId" $DomainUser $Password
Everything seems good, just that I expect Excel to throw this exception when I open it up:
“Cannot use object linking and embedding”
This happen only if I manually type mmc comexp.msc /32 and then browse the component service console till I click on DCOM Config.
(Which is normal I'm running 32 bits excel application on a 64bits windows machine)
Don’t know how to script that last step, any help will be appreciated ?
Regards,
Continue reading...