Do to a battery problem when upgrading to Windows 10 I disabled the Appinfo service. The problem I am having now is that I cannot get it re-enabled. I get this message when I try and open regedit, task manager and services to try and fix the problem, "The service cannot be started, either because it is disabled or because it has no enabled devices associated with it." I also got this when I tried installing malwarebytes to run a scan (I don't think it is a virus because this happened as soon as I did the restart after editing appinfo).
My next step was to edit it through command prompt using this line REG add "HKLM\SYSTEM\CurrentControlSet\services\Appinfo" /v Start /t REG_DWORD /d 3 /f to which I get, "ERROR: Access is denied".
At this point what I am asking is if anyone knows how to get permission to edit the registry through command prompt or a way to get something working again to edit it the normal way.
23 Answers
Today I was reminded by a friend that I could probably just boot into safemode(sift+click the restart button on Win10) and re-enable it from there(by going into services and setting it from "disabled" to "manual"), which worked. Although Hysterics suggestion of using a live version of Linux to edit the windows registry would have worked as well.
The only thing i can suggest you to do is run regedit with administration permission or enable the Administration account by using the command line by typing
net user Administrator /active: yesBut this should get the same permission as when you right click and select run as administrator.
If that isn’t working then my alternative is to boot into a live Linux and edit the windows registry from there. there was a way to do that i believe
downvoter, SPEAK dont run and hide
7I had the same dilemma. I tried to disable as many services I can for a virtual machine, then ended up not able to run anything. I fixed it by going to the safe mode using the "shift+restart" trick. ( You cannot do this in a RDP session.) The virtual machine goes to a PE environment. There I can run regedit, load the hive from "c:\windows\system32\config\system", edit the entry of "AppInfo", change the "start" from 4 to 3, then unload the hive. After that everything works again.