
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2009 02:35 PM
Hi,
I've looked all over google for an answer to this ... and got back either can't do or stupid posts on forums ... so thought I'd as here!
Is there any way to enable DCOM via Group Policy? (Server 2003 domain).
I don't want to create a login script if at all possible as enough goes on at login as it is and could do without having to go thought the login script validation process we have ... so was hoping for a GP setting somewhere that would globally enable it.
Any help appreciated!
Thanks
Ian.
I've looked all over google for an answer to this ... and got back either can't do or stupid posts on forums ... so thought I'd as here!
Is there any way to enable DCOM via Group Policy? (Server 2003 domain).
I don't want to create a login script if at all possible as enough goes on at login as it is and could do without having to go thought the login script validation process we have ... so was hoping for a GP setting somewhere that would globally enable it.
Any help appreciated!
Thanks
Ian.
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2009 07:04 PM
ok I've given up on this one.
for anyone needing a script (use and check at your own peril first) ...
...............
Set WSHShell = WScript.CreateObject("WScript.Shell")
'To Enable Remote DCOM in the computer
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\EnableDCOM","Y","REG_SZ"
'To enable remote access
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\EnableRemoteConnect","Y","REG_SZ"
'To Set Authentication Level to Connect
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\LegacyAuthenticationLevel",2,"REG_DWORD"
'To Set Impersonation level to Impersonate
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\LegacyImpersonationLevel",2,"REG_DWORD"
................
save as EnableDCOM.vbs (or whatever) and set it to run on bootup.
Cheers
Ian.
for anyone needing a script (use and check at your own peril first) ...
...............
Set WSHShell = WScript.CreateObject("WScript.Shell")
'To Enable Remote DCOM in the computer
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\EnableDCOM","Y","REG_SZ"
'To enable remote access
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\EnableRemoteConnect","Y","REG_SZ"
'To Set Authentication Level to Connect
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\LegacyAuthenticationLevel",2,"REG_DWORD"
'To Set Impersonation level to Impersonate
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\LegacyImpersonationLevel",2,"REG_DWORD"
................
save as EnableDCOM.vbs (or whatever) and set it to run on bootup.
Cheers
Ian.
