Jump to content

Command line service control


Wunderbar98

Recommended Posts

Command line rules.

The service guides used for reference do not mention DCOM so it was test disabled.
https://www.blackviper.com/service-configurations/black-vipers-windows-xp-x86-32-bit-service-configurations/
https://www.overclockersclub.com/guides/windows_xp_services/2.htm

Disabling DCOM Server Process Launcher via 'services.msc' causes the GUI to become non-functional ( without warning! ), not allowing the service to be re-started.

Upon reboot the system has poor function (safe mode too) but it's still possible to Ctrl-Alt-Delete to access Task Manager and get a runbox to launch 'cmd'. Alternatively press F8 at boot and select 'Safe Mode with Command Prompt'.

Reconfigure DCOM via command line, note space after 'start=':

sc config dcomlaunch start= auto

Very helpful including services reference:
https://www.windows-commandline.com/start-stop-service-command-line/
Link to comment
Share on other sites


8 hours ago, Wunderbar98 said:

Command line rules.

The service guides used for reference do not mention DCOM so it was test disabled.
https://www.blackviper.com/service-configurations/black-vipers-windows-xp-x86-32-bit-service-configurations/
https://www.overclockersclub.com/guides/windows_xp_services/2.htm

Disabling DCOM Server Process Launcher via 'services.msc' causes the GUI to become non-functional ( without warning! ), not allowing the service to be re-started.

Upon reboot the system has poor function (safe mode too) but it's still possible to Ctrl-Alt-Delete to access Task Manager and get a runbox to launch 'cmd'. Alternatively press F8 at boot and select 'Safe Mode with Command Prompt'.

Reconfigure DCOM via command line, note space after 'start=':

sc config dcomlaunch start= auto

Very helpful including services reference:
https://www.windows-commandline.com/start-stop-service-command-line/

Hello @Wunderbar98! There is a special tool in terms of DCOM which is called DCOMbobulator. I had used it long time ago. It works under Windows 95/98/ME and Windows NT/2000/XP/2003. This tool can check the service DCOM in your system and offers the ability to enable or disable it. Here is DCOMbobulator's homepage at GRC
https://www.grc.com/freeware/dcom.htm link.gif

Cheers, AstroSkipper matrix.gif

Edited by AstroSkipper
correction
Link to comment
Share on other sites

  • 2 weeks later...
Thanks for responses. No assistance was requested, just wanted to provide a quick command line fix for anyone that inadvertently disables DCOM and ends up with a broken system. There were all sorts of nonsense helps related to reinstalling OS, restore from backup, 3rd party registry tools. Simple command line fix, done.

Yes odd @UCyborg, 'services.msc' just describes DCOM as 'Provides launch functionality for DCOM services'. No mention of critical, no warning, user beware. Microsoft must think it's critical, it temporarily broke my system, but @AstroSkipper's link seems it's mostly a security hole.

Thanks for the information @AstroSkipper, hopefully it will help someone. Since i rarely use Windows XP i don't want to go too far down the rabbit hole, including 3rd party software to disable a Windows service. I will leave it alone for now, thanks again.
Link to comment
Share on other sites

Thanks for the tip. You can toss it into a bat file too.

Im on SP2 with the SP3 trick. I have it set to manual with no GUI issues. I can start/stop it. It never seems to auto start from manual though. It took me years to figure out what DCOM does (for me). All Disk Management is gone. I need to start DCOM Server Process Launcher before i open any MSC or else i get "Logical Disk Manager - The RPC server is unavailable." popup error.

OT: The OCD kicks in. I need it set to manual. 14 services is infinitely better than 15.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...