Thursday, November 26, 2009

Windows Management Instrumentation Service not available in windows services.


This happens if the operating system is not installed properly or “winmgmt.exe, winmgmtr.dll & wmi.mfl” is missing or these files are damaged due to number of reasons.

Resolution
•    Copy the winmgmt.exe, winmgmtr.dll & wmi.mfl from any PC with same operating system (with its service pack) and paste it in “C:\Windows\System32\Wbem”

•    Now type the following command in CMD.
o    Winmgmt/kill                (To kill any windows management based application that is running)
o    Winmgmt/clearadap     (To clear the windows management adapter settings)
o    Winmgmt/unregserver  (To un-register the windows management components)
o    Winmgmt/regserver     (To register the windows management components)

•    Now, open services.msc and start the service that is added.

Friday, November 13, 2009

Windows Services(creating and deleting)


How to Register or Create a Service in Windows.
Process:
Go to start menu
Run.
Type CMD.
Here Type: [sc create “Chicken” binpath=  “C:\Chicken.exe”]
Note:
Remove brackets when typing this command.


How to Delete a Service in Windows.
Process:
Go to start menu
Run.
Type CMD.
Here Type: [sc Delete ClinckSystemLayer]
Note:
ClinckSystemLayer is a registered service so you can delete without giving whole path.