简体   繁体   中英

Enable DCOM via VBScript

I want to enable DCOM using VBScript .
It is possible to enable DCOM like this , but I am searching for a way to do this via VBS .
Is this possible ? May with RegKeys ...?

The registry value that is related to the "Enable Distributed COM on this Computer" setting is in the "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\OLE" key. It is an REG_SZ value called EnableDCOM. It is set to Y to enable and N to disable DCOM. Is this what you need or do you also need a code sample showing how to change these registry keys via VBS? Reference: https://support.microsoft.com/en-us/kb/825750

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM