Skip to content

stop: c0000135 the program cant start because %hs is missing, FIX, Solution

December 19, 2011

Ok so i have run into this one alot thanks to some stupid virus. Many people suggest renaming an AVG folder to garbage, but that is typically never the case. I have much better luck with a quick registry fix.

1. Boot into the repair console by pressing f8 while starting the PC

2. Click command prompt

3. Type regedit

4. Select HKEY_LOCAL_MACHINE and then go to the top and click “load hive”

5.  Navigate to C:\Windows\System32\Config and select system

6.  Navigate to the current control set 001 and then find control, then session manager, then subsystems

7. Find the key named WINDOWS and then open it up

8. Look for consrv towards the end and change it to winsrv.

9. Follow steps 6 through 8 again but choose current control set 002.

10. Unload the hive by clicking file at the top and then unload hive

11. Restart the PC.

*Key is located at:

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\SubSystems]

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Session Manager\SubSystems]

** here is the key value

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16

** this is on XP, but works same way for windows 7 and vista

**The bold print winsrv will say consrv.

***Just has a computer in that would not give that blue screen but would boot to a black screen, or just boot loop (restart after it says loading windows). I fixed it by following the steps listed above****

If you have any questions please let me know, i would be happy to explain it a little bit more for those who are having problems. Enjoy.

Advertisements

From → Uncategorized

12 Comments
  1. Joe permalink

    Mine already say winsrv not consrv. what do i do

    • Rename avg folder to JUNK, or something other than AVG, or you can try and download the AVG utility that lets you boot from cd, and then try and remove it or fix it from the cd.

  2. What if you dont have AVG and ControlSet002 isnt showing?

    • Are you sure you loaded the registry hive correctly? Did current controlset 1 have the consrv? If so then you definitely need to try to reload the hive and get access to the current controlset 2 to change it.

  3. Fantastic! Lord knows how you knew about this – but thank you!

  4. Laura permalink

    I’m on step 8 and do not see consrv
    Please help

  5. Laura permalink

    yes

  6. Laura permalink

    comes up under value data:
    %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024.20480.768 Windows=On SubSystemType=Windows ServerDll=basesrv.1 ServerDll=winsrv:UserServerDll Initialization.3 ServerDll=winsrv;ConServerDll Initialization.2ServerDll=sxssrv.4 ProfileControl=Off MaxRequestTjreads=16

  7. Laura permalink

    comes up under value data:
    %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024.20480.768 Windows=On SubSystemType=Windows ServerDll=basesrv.1 ServerDll=winsrv:UserServerDll Initialization.3 ServerDll=winsrv;ConServerDll Initialization.2ServerDll=sxssrv.4 ProfileControl=Off MaxRequestThreads=16

  8. Laura permalink

    I know you posted a similar answer above, I do not know where to rename the folder or where to find the avg folder.

  9. Laura permalink

    I’m on step 8 and do not see consrv. I do see winsrv.
    This is what I get after step 7 –

    value data:
    %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024.20480.768 Windows=On SubSystemType=Windows ServerDll=basesrv.1 ServerDll=winsrv:UserServerDll Initialization.3 ServerDll=winsrv;ConServerDll Initialization.2ServerDll=sxssrv.4 ProfileControl=Off MaxRequestThreads=16
    Please help

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: