Microsoft KB Archive/138067

= How To Hide the Automation Manager =

Article ID: 138067

Article Last Modified on 7/1/2004

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Enterprise Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q138067



SUMMARY
Remote OLE Automation occurs when a client requests an object from a remote server. For Remote OLE Automation to work, an application known as the Automation Manager (AM) must be running on the server computer. When the AM is started on the remote server computer, the LocalServer32 subkey under the clsid key for the AM in the system registry is read. The AM is visible by default. There are two ways to do this, either specify /Hidden as a command line switch for the AM or modify a registry entry for the AM.



MORE INFORMATION
To specify a command line switch for the AM, you will need to edit its command line in the properties window provided by Windows 2000, Windows NT, Windows Me, Windows 98, or Windows 95. You will want something like this:

C:\Winnt35\System32\Autmgr32.exe /Hidden

You need to add the /Hidden switch in the system registry as follows under the CLSID of the Automation Manager in order to hide the AM:

FA4FEBC3-4591-11CE-95E5-00AA0051E510 (Remote Automation CLSID_StubMarshaler)

LocalServer32 = C:\WINNT35\SYSTEM32\AUTMGR32.EXE /Automation /HIDDEN

NOTE: Once it is hidden, the only way to terminate the AM is through the Pview system utility under Windows NT or Windows 2000 and the Pview95 system utility under Windows 95.

Keywords: kbhowto kbautomation kbremoteprog KB138067

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.