Make sure that the Administrator user has Full Control access to the following registry keys:
Use the script below to configure DCOM.
1 |
Create a file named dcom-config.ps1 that contains the script below on the target machine. |
2 |
Run the script on behalf of the Administrator user using the following command: runas /user:Administrator powershell -File dcom-config.ps1 |
This section contains descriptions of the actions included in the ActionPack for Scripting.
Executes a PowerShell script on the specified remote Windows host.
powershell -command “&{set-ExecutionPolicy Unrestricted}”
Host/host |
||
Script/script |
The full path to the script on the remote host, for example: C:\\test.ps1. | |
Parameters/params |
Command/cmd |
||
Output text/stdout |
||
Error text/stderr |
System Error Output Text. May be empty if no errors occured. |
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center