Wednesday, May 23, 2012

STOP: c0000135 the program can't start because %hs is missing. Try reinstalling the program - Blue Screen error.

This BSOD error occurs due to corrupted registry files and it is caused by some hijackers, viruses, malwares etc. More recently my PC crashes frequently and restarts every time. Then I decide to boot my PC with the function "Disable Automatic Restart on system failure" during start up and it stops at this blue screen of death.

After spending several time in fixing this issue with offline registry editors, again PC crashes with another BSOD error soon after fixing the previous one. It was a fatal system error report and now it was really a bad time for me.

STOP: c000021a {Fatal System Error} - This was the error faced by me. Very soon, (by luck) I've have found another solution which saves my whole work and no longer the bad time continues. I think this was the entire solution for both the BSOD errors mentioned above.

Solution: (for Vista/7 Users)
[Last Updated on July 8, 2012]

By luck, if you found to have RegBack folder in C:\Windows\System32\Config\ then this was perfect fix. Simply copy all those files which is inside this folder and paste it outside the folder and replace all with same name. Hurray, you have won!
  • Also check if there was any *.LOG1, *.LOG2 files in config folder and don't forgot to delete these since they are the virus programs which infects the registry files and make us unable to logon by crashing.
  • These virus LOG files can be easily identified since it does not have any file type. In actual, all log files have file type as text document. To verify you can see their file properties.

If you are clueless on how to access this folder without encountering this BSOD error, I suggest some methods here.

Launching Recovery Console by pressing F8 key before Start-up screen appears to bring up eight functions menu > select Repair your computer option > Select your language for keyboard layout > Type the password for user account > Select command prompt from System Recovery options.

Using windows setup dvd (or) recovery disc. Boot the PC from dvd drive > press any key to boot from cd (if it asks) > select your language > click Repair your computer below the Install button.

click "Use Recovery tools that can help fix problems starting windows" radio button and select the operating system and click Next > and then select command prompt from System Recovery options.

If you have installed two OS on same PC, then it is easy to access this folder by logging into the other operating system whether it is XP/Vista/7/RedHat linux/Ubuntu/Fedora.

Using other third-party bootable dvd's like Ophcrack LiveCDUbuntu LiveCDHiren's BootCD.

Connecting your internal hard disk to another PC or laptop via IDE/SATA to USB adapter. For more to know read my post on How to use internal Hard disk as an external USB device.

Using Command prompt
1. Type cd<space>C:\Windows\System32\Config and hit Enter key.
2. Now type dir and hit Enter key.

3. Type the following commands as follows and press Enter key after each.
  • cd RegBack 
  • copy *.* c:\Windows\System32\config 

4. If it ask for overwrite any existing files (y/n) > type Y and press Enter.
5. If all files were successfully copied message is displayed, type exit to leave the command prompt and restart Windows.

Finally, if you couldn't find RegBack folder; thinking that I was wasting your time.

But this is not the end for XP users. Read this Microsoft article on How to recover from a corrupted registry that prevents Windows XP from starting.

Overall, the above choice is my best advice rather than editing registry files directly.

Note: If you are still interested in editing those registry files, read my post on STOP: c0000135 error - Solved using Registry Editor.


  1. During this proces I found out that my C drive is actually the D drive. Could this be possible that the virus changed my driveletter because I'm not sure if this was the case before... Thanks for any feedback.

  2. @lon Yes, there are possibilities. For this, You have to edit the System file from "C:\Windows\System32\Config" using Registry Editor. So that you can access back to your original boot drive.(i.e) from D to C drive. If you have installed two OS on different drives, the case may become quit a complex one.

  3. No, I haven't installed 2 OS.

    So I need to read the other article about reg editing? Isn't there a way around via cmd?

  4. Yes, of course there is a way. You can use DISKPART tool in WIndows using cmd line to change the drive letter.

    If you are able to boot into windows (i.e) non-Real OS drive > Then, open the command prompt with administrator rights.

    Type the following cmds and press Enter key after each.


    Here i assume Volume 1 is the current C drive (non-Real OS drive)


    Give some any unused drive letter in the above cmd and so that it frees up for C letter.


    here i assume volume 2 is the current D drive (Real OS drive).


    The above cmd will change volume2 D drive to C drive.


    The above cmds will change volume1 Z drive to D drive.

    EXIT (to leave disk part)

    EXIT (to leave cmd prompt)

  5. I'm not logged in on my account... what a fuss with mobile devices...

    Anyway, Looks legit.

  6. I see C is system reserved and D is unlabeled. I'll move C to B. D to C and E to D. E is just a downloadpartition which I thought was initially D (before I got hit by the virus)

    How big do you think, is the chance to success?

  7. Initially System Reserved Volume which is about 100MB does not need to have any drive letter and also it is not necessary to have. So you can remove the drive letter C which is currently assigned for it by using the Remove cmd in diskpart tool.

    SELECT VOLUME # (select your system reserved volume no.)


    The above cmd will currently remove the letter C and makes that volume as offline. Now you can assign this C drive letter to your desired volume by selecting it. If any volume is unlabelled you can directly assign a letter for it by selecting it.

    Drive letter A and B are reserved for floppy drives and so that you can't use it for now. If it looks more tedious job or still confusing just remove all the drives and thus making your whole disk to offline.


    The above cmd will remove all drive letters and make all volumes dismount. Now you can select each volume and assign a drive letter for each which makes your disk online again and active.

    This was a straight forward step.

    1. Everytime when I'm in CMD then I start with X:\Sources>

      Anyway, "remove all dismount" did not work for me. I tried this 3 times with "remove letter" but everytime after the reboot the drives went back to how they were:

      List of drives:

      Volume 0
      Letter: F
      Type: DVD-ROM

      Volume 1
      Letter: C
      Label: System Rese
      Type: Partition

      Volume 2
      Letter: D
      Type: Partition

      Volume 3
      Letter: E
      Label: HDD
      Type: Partition

      Volume 4
      Letter: G
      Label: Lexar USB
      Type: Removable

      I also went info config and removed all *.log* and copy pasted all files from regback to config, which where 5 files.

      I got me a 80gb hard disk to install an OS on it. Do you think the other OS could be saved?

    2. Which method are you using for accessing cmd prompt (like 3rd party bootable CDs)?

      What error it displays while using the cmd REMOVE LETTER=C in Diskpart tool?

      Also before restarting your PC, You have to disable all your startup items and non-microsoft services in System Congfiguration Utility (Start>Run>msconfig.exe). In System Congfiguration Utility, Select Services tab > click Hide all microsoft Services check box and then click Disable all button. Also Select Startup Items tab > Click Disable all button. Then Click Apply and OK. [This is to ensure that no virus programs runs @ Startup]

      Also Try to reboot your PC in Safe Mode by pressing F8 key during startup.

    3. Plz note that while entering the LIST VOLUME cmd in DISKPART tool it provides INFO like System or Boot in the last column for only a specific volume. From this you can identify that which contains the BOOT/SYSTEM INFO is your Real-OS Volume/drive.

    4. From Your info, I think either Volume 2 or Volume 3 must be your Real-OS drive Which contains the BOOT INFO. REGBACK folder files are useful only if you encounter any BSOD errors during start-up (i.e) Logon screen disappears and also it is not the perfect fix for the case like drive letters disappears or suddenly changes.

      If Disk Management fails,
      If Command prompt fails,
      Then the perfect fix for your problem is only by renaming the Mounted devices using Registry Editor.

      If you are still having a little hope on saving your OS, then I can help you editing the registry keys for the perfect fix.

  8. Well, first of all: Yes, I'm interested in fixing this issue.

    I have the exact same boot error as mentioned in the title. This came after I was trying to remove a "Ukash" virus (not the easy one). I haven't gotten the fatal error yet.

    I will answer in another post.

  9. I access cmd via the repair function on the recovery ISO file which I'm using on a bootable USB which I got from 'Digital River Distribution Centre' that can be found here:

    When I use the "remove letter=c" comand then I don't get any error. Before I exit I recheck the values (cmd "list volume") and it actually looks like everything goes fine. After the reboot I find out that all the drives have been back to how they were (as if there were no changes applied).

    However, when using cmd REMOVE ALL DISMOUNT then it says "There is no volume selected. Please select a volume and try again".

    The "info" tab in 'List volume' shows nothing. It's empty.

    I don't know how to access msconfig via cmd? So I'm not quite sure how to handle that. Thanks for your feedback.

    1. Fine! I think You have more patience in fixing this issue. More recently i received a PC (Dell Inspiron) for repair, stating that it does not boot into windows. At-last I've found that its issue was exactly the same that you are facing it right now. And also it has three more issues including the virus infection. I've spent nearly 20+ hrs in fixing the bad sectors, replacing CMOS cell and the virus infection. I've also used the above methods which I've mentioned in the comment section but all results in vain. Finally I deleted all partitions after a long backup and installed new OS.

      But this is not the same for all PC's, there may be an exception.

      In Considering your issue, better connect your Hard Disk as an external USB device to another PC/laptop and scan completely with an updated antivirus. After all the antivirus deletes the active viruses/infected files, then connect your HD as an internal SATA/IDE device.

      For accessing msconfig utility navigate to "C:\Windows\System32\" through cmd prompt and type msconfig.exe and hit Enter key.

      For accessing registry Editor navigate to "C:\Windows\System32\" through cmd prompt and type regedit.exe and hit Enter key.

      For more help in removing UKASH virus manually follow this link >

      Reply with your results here after following all the steps.
      ******Best of Luck.

    2. Avast free edition would be fine?

      Accessing msconfig and regedit via D (such as in my case) wouldn't be a problem? Or should I first try to have success in changing the diskletters...

      Thanks for the information.

    3. Spoke to soon! Give me some time to actually try these stuff out. Ignore the previous post.

    4. Yes, Avast free edition is very effective.

    5. After the scan has been finished > try to delete all temporary files/folders from the path "C:\Windows\Temp" and "C:\Users\\AppData\Local\Temp" since they are the key to regenerate @ background.

      Only by deleting/locking the UKASH virus completely from Hard disk makes you to change the drive letters successful. But the thing is that entire OS is affected/whole system files may be infected even the desktop, startup, logon screens and secure locations like System32 folder contents, registry keys etc. Since the virus program coding is like that.

      So by deleting it in both external and internal ways are necessary. Also don't forget to disable startup items and services in msconfig using your Recovery USB device ( from Digital River Distribution Centre) while accessing internally.

      Take your maximum time. Since the issue is like that.

  10. Ok, it has been a while. I hope you're still in it to try fix this issue? I just started to scan the both partitions (full scan with latest update Avast). I'll get back to it!

    I was working on another hard disk and left this one untouched. I'm interested to fix this issue though. Even just for educational purpose and additional references. Greetings! Please leave any feedback, lol.

  11. @lon, sorry for the late reply Since I was very busy in my studies during the past three months I can't schedule my time for blogging. Anyhow we will discuss this in detail....Later!!!

  12. @Jai, count me in if you're willing to spend more time on this problem? Personally I would really like to know how to fix this issue. I have left the hard disk as-is, since I have now installed it as a second hard disk it didn't bother me at al (all my documents are available). Thanks in advance.

  13. i try method 1, but it didn't work. after i type copy *.* x:\windows\system32\config then i press enter, it didn't work.the command said 'cannot located files 0 item copied'

  14. @anonymous
    The above message shows there is no registry files in your Regback folder for copying (i.e)Empty folder

  15. IF I use method 1 and it didn't work would it still possible to fix the problem using windows start up DVD ?
    Please reply
    Thank you

  16. I can't copy they reg files to the folder outside it says im using them currently, help!

  17. may be you can try using 3rd party CD's like ubuntu liveCD. It is worth a try to access your documents without any damage.

  18. Are you accessing through command prompt??..
    If YES..
    then try copy those files with administrative privileges.

  19. hi i want to wish you the best because of I repair my computer I'm from mexico and I have 13 years and you to save me from my fathers, I enter in your website I repeat again thank you very much.
    My English is not good xD

  20. Wow its really nice service provider to solve your problem in bootmgr missing error go through this link and solve your any query about windows 7 realted problem .
    BOOTMGR Missing in Windows 7
    Thank you
    Aalia lyon

  21. I typed " cd C:\windows\System32\Config

    " the system cant find the specific path

  22. Great article, I've read it completely and got answers of many things which i didn't knew before keep on posting good things.

    Web Application Development | JavaScript Error Fix | Website Fix

  23. Get unlimited PC Support (1 888-313-7359) with Repair All PC LLC .We are available 24*7. Find best technical support Usa/canada on

  24. Thanks for sharing this information .You may also refer

  25. Get reviews, hours, directions, coupons and more for Repair All PC LLC at 3100 E 45th Pl #408, Cleveland, OH. Search for other Computer Service with

  26. Thanks for providing good information,Thanks for your sharing.


  27. If somebody wants expert take on the main topic of blogging next I advise him/her to go to this site, continue the fussy job.pc repair freeware

  28. You can acquire UNITED STATE Facebook Suches as on quite pocket pleasant prices. buy usa likes

  29. There are ways in which such problems can be scaled down therefore simplifying the whole process. If the syndicate is formed using a lottery syndicate contract then any of the issues emphasized here will no longer be an issue. These syndicate contracts can be downloaded from your lottery provider's website and in many cases can be collected from your Watch Online Result At Lottery Sambad retailer.

  30. "I think here there is every reason for law enforcement bodies to interest themselves in whether this lottery is a Lottery Sambad New Reult fraudulent organisation with which only politicians of Lyashko's rank can win."

  31. The USA green card lottery was legislated by the US government by awarding 55,000 US green cards to people from all around the world per year. These US green card lottery application winners are selected randomly in a Lottery Sambad Old Result green card lottery process from a computer-generated list which is held by the US government.

  32. There IS an incredibly simple way to lower Lottery Odds.Play all 49 lottery numbers – and you are GUARANTEED to Lottery Sambad Online Result have one ball correct. And it only requires 9 games. Even the 59-ball New York Lottery only requires 10 games.

  33. By Jamie McGeever LONDON, Nov 3 (Reuters) - Calling the top in world markets and getting the timing of it right seems like a Lottery Sambad Online Result, but predicting the catalyst for the turnaround may be less random.

  34. To join the favored few in this position, put your winnings into commercial property, bonds or other financial instruments recommended by your Lottery Sambad Latest Result advisor, and live off the income. Forever.For free lottery play tips and secrets, check out my websites. You can download a free 55 page report now.

  35. "The evidence gathered in the investigation supported a finding that Deputy Director Jim Warick has engaged in problematic conduct, including yelling at employees and showing a disregard for rules," the report Lottery Sambad Today 8pm.

  36. This comment has been removed by the author.

  37. Entire life Replacement is a thing that you barely find, as you Buy facebook reviews. Merely a few good agencies offer this. buy usa facebook reviews

  38. The Windows blue screen errors occur when a program encounters an error. Typically, these errors are caused by errors in the programming such as trying to call something that does not exist or do something that is not allowed. These errors can also be caused when the hardware in the computer encounters a problem or is bad. To resolve the ATTEMPTED WRITE TO READONLY MEMORY BSOD error, check the system for over clocking. You can disable all Overclocking or use a lower setting based on the clock frequency specified by the manufacturer of the CPU, GPU, and other installed devices. You can also resolve this issue by employing the Last Known Good Configuration feature that allows you to start the computer by employing the latest settings and configurations that worked.

    To check if the error is caused by a faulty drive, run an automatic driver update or manually update the drivers to the latest available versions.

    To manually update a driver, follow these steps:

    Click Start
    Type in devmgmt.msc in the search box
    Click devmgmt from results list
    Right-click on the driver
    To update the driver, select Update Driver Software.
    To disable the driver, select Disable.
    To uninstall the driver, select Uninstall.

    To run an automatic driver update, follow these steps:

    Click Start
    Go to Devices and Printers
    Right-click on your computer
    Select Device Installation Settings
    Select Yes, do this automatically
    Click Save Changes

  39. Microsoft Office 2016 Product Key is the latest technology used by several computer software programs, incredibly used all over the world. If have installed Office 2016 in your computer and activated it, but forgot or lost the product key now, find your product code following the three methods.

    Download and install the new Microsoft Office 2016 Product Key Crack Serial Free today , 100% genuine security and authentication. Microsoft Office 2016 Product Key full latest version is useful product keys that help to activate the office suite Office 2016 Product Key.


Feel free to comment...