Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Ian_Bradshaw
Engaged Sweeper II
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.
1 REPLY 1
Ian_Bradshaw
Engaged Sweeper II
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.

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now