Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a service responsible for controling the mouse? I want to try stop/starting it after making a few control panel changes via the registry.

(I need to get the changes to apply witout rebooting because rebooting just resets them back to default)

share|improve this question

3 Answers 3

up vote 3 down vote accepted

The mouse isn't controlled by a service. Its function is managed by a device driver. See the registry key HKLM\SYSTEM\CurrentControlSet\services\mouhid. If you run DRIVERQUERY.EXE, you'll see that it runs as part of the kernel and doesn't have its own process id. As such, I'd doubt that it can be stopped or killed.

share|improve this answer
    
@MrVimes: If it's listed in services, you can just set the Start value of mouhid to 4 to disable it at boot, but I'm unsure if your computer can still boot then. Maybe you could try net stop mouhid and net start mouhid, but again, I don't know the consequences of this. Anyway, I think this won't help with your other question: superuser.com/questions/180541/… –  Tom Wijsman Aug 25 '10 at 22:11

How will you start the mouse back up if you cannot control it after stopping it? Do you need a program with somekind of hotkey which allows the stopped mouse to resume?

share|improve this answer
    
Once I know which service it is I can stop and start it using a script. –  MrVimes Aug 25 '10 at 16:30
    
This sounds dangerous to me but, if you can code there are vb snippets all over... Here is one for vs2005: vbforums.com/showthread.php?t=515598 or this link shows code to hide/show the mouse: devx.com/vb2themax/Tip/18490 –  hoobajue Aug 25 '10 at 16:42
4  
Anyway there is this thing called 'the keyboard'... –  Shinrai Aug 25 '10 at 16:49
    
I'm mainly looking for a windws service I can stop and start using "net stop" and "net start". I want to do this in a windows scripting host file which I intend to run at startup. the script itself just needs to access wscript.shell to run the dos command. so my command would be "net stop mouse" and "net start mouse" is 'mouse' was the name of the service. All I am looking for from superuser is the name of the service (if there is one) –  MrVimes Aug 25 '10 at 17:05

As noted by BillP3rd, mice are handled by a kernel driver, not by a service.

However, drivers are too managed by the Service Controller and can be controlled by sc or net start.

(sc stop beep to kill the PC speaker is a classic.)

share|improve this answer
    
While SC STOP BEEP works, and while SC QUERY MOUCLASS would seem to indicate that the driver can be stopped, SC STOP MOUCLASS generates the error [SC] ControlService FAILED 1052: The requested control is not valid for this service. (The driver mouhid referenced above isn't actually running on my system.) –  BillP3rd Aug 25 '10 at 22:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.