disable a service from the command line??

  • Thread starter Thread starter Lee
  • Start date Start date
L

Lee

having trouble disabling a service from the command line?
should I use sc.exe? or netsvc.exe?
also what syntax should i use for example if i want to disable the :Fast User Switching" service?

Thanks!
lee
 
Go to Start, Run and type SERVICES.MSC

Double click Fast user switching and select disable
having trouble disabling a service from the command line?
should I use sc.exe? or netsvc.exe?
also what syntax should i use for example if i want to disable the :Fast User Switching" service?

Thanks!
lee
 
Thanks, How do I set the "Startup Type" to "Disabled" ????
syntax please
thanks!
lee

"sc config FastUserSwitchingCompatibility start= disabled"

Microsoft Windows XP - SC:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sc.mspx

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


having trouble disabling a service from the command line?
should I use sc.exe? or netsvc.exe?
also what syntax should i use for example if i want to disable the :Fast User Switching" service?

Thanks!
lee
 
"sc config FastUserSwitchingCompatibility start= disabled"

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org
--------------------------------------------
Using ToolbarCop to remove the unwanted Toolband, Toolbar Icons and BHO:
http://windowsxp.mvps.org/toolbarcop.htm
--------------------------------------------
The Parasite Fight - Quick Fix Protocol:
http://aumha.org/a/quickfix.php
--------------------------------------------
Thanks, How do I set the "Startup Type" to "Disabled" ????
syntax please
thanks!
lee

"sc config FastUserSwitchingCompatibility start= disabled"

Microsoft Windows XP - SC:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sc.mspx

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


having trouble disabling a service from the command line?
should I use sc.exe? or netsvc.exe?
also what syntax should i use for example if i want to disable the :Fast User Switching" service?

Thanks!
lee
 
Tried that and it did not work for example.
"sc config RemoteRegistry start= disabled"
not sure why

"sc config FastUserSwitchingCompatibility start= disabled"

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org
--------------------------------------------
Using ToolbarCop to remove the unwanted Toolband, Toolbar Icons and BHO:
http://windowsxp.mvps.org/toolbarcop.htm
--------------------------------------------
The Parasite Fight - Quick Fix Protocol:
http://aumha.org/a/quickfix.php
--------------------------------------------
Thanks, How do I set the "Startup Type" to "Disabled" ????
syntax please
thanks!
lee

"sc config FastUserSwitchingCompatibility start= disabled"

Microsoft Windows XP - SC:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sc.mspx

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


having trouble disabling a service from the command line?
should I use sc.exe? or netsvc.exe?
also what syntax should i use for example if i want to disable the :Fast User Switching" service?

Thanks!
lee
 
Works fine here. What's the error code/msg you get?

Use:
sc config RemoteRegistry start= disabled

Not this:
sc config RemoteRegistry start=disabled

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org
--------------------------------------------
Using ToolbarCop to remove the unwanted Toolband, Toolbar Icons and BHO:
http://windowsxp.mvps.org/toolbarcop.htm
--------------------------------------------
The Parasite Fight - Quick Fix Protocol:
http://aumha.org/a/quickfix.php
--------------------------------------------
Tried that and it did not work for example.
"sc config RemoteRegistry start= disabled"
not sure why

"sc config FastUserSwitchingCompatibility start= disabled"

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org
--------------------------------------------
Using ToolbarCop to remove the unwanted Toolband, Toolbar Icons and BHO:
http://windowsxp.mvps.org/toolbarcop.htm
--------------------------------------------
The Parasite Fight - Quick Fix Protocol:
http://aumha.org/a/quickfix.php
--------------------------------------------
Thanks, How do I set the "Startup Type" to "Disabled" ????
syntax please
thanks!
lee

"sc config FastUserSwitchingCompatibility start= disabled"

Microsoft Windows XP - SC:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sc.mspx

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


having trouble disabling a service from the command line?
should I use sc.exe? or netsvc.exe?
also what syntax should i use for example if i want to disable the :Fast User Switching" service?

Thanks!
lee
 
That was it. I did not have a space after the "=" equals.
Thanks a lot!!!

Works fine here. What's the error code/msg you get?

Use:
sc config RemoteRegistry start= disabled

Not this:
sc config RemoteRegistry start=disabled

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org
--------------------------------------------
Using ToolbarCop to remove the unwanted Toolband, Toolbar Icons and BHO:
http://windowsxp.mvps.org/toolbarcop.htm
--------------------------------------------
The Parasite Fight - Quick Fix Protocol:
http://aumha.org/a/quickfix.php
--------------------------------------------
Tried that and it did not work for example.
"sc config RemoteRegistry start= disabled"
not sure why

"sc config FastUserSwitchingCompatibility start= disabled"

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org
--------------------------------------------
Using ToolbarCop to remove the unwanted Toolband, Toolbar Icons and BHO:
http://windowsxp.mvps.org/toolbarcop.htm
--------------------------------------------
The Parasite Fight - Quick Fix Protocol:
http://aumha.org/a/quickfix.php
--------------------------------------------
Thanks, How do I set the "Startup Type" to "Disabled" ????
syntax please
thanks!
lee

"sc config FastUserSwitchingCompatibility start= disabled"

Microsoft Windows XP - SC:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sc.mspx

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


having trouble disabling a service from the command line?
should I use sc.exe? or netsvc.exe?
also what syntax should i use for example if i want to disable the :Fast User Switching" service?

Thanks!
lee
 
Back
Top