Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to create(restore) SysMain service in Windows 7 SP1

10 Dec 2011   #1
Samy0806

Windows 7 Ultimate x64 SP1
 
 
How to create(restore) SysMain service in Windows 7 SP1

Hi all, is there a way to recreate the SysMain service in windows 7 SP1 because i've stupidly deleted it a while ago using the "sc delete" command in cmd?? I know there is a "sc create" command but i don't know how and if i can use it to restore the SysMain service, and i need it for ReadyBoost...not to say i don't have Superfetch and ReadyBoot, so i would really appreciate your help.

P.S. I would like to avoid any kind of windows reinstalling.


My System SpecsSystem Spec
.
10 Dec 2011   #2
Brink

64-bit Windows 10 Pro
 
 

Hello Samy, and welcome to Seven Forums.

If available, you could do a system restore using a restore point dated before you deleted the service to restore it.

Hope this helps,
Shawn
My System SpecsSystem Spec
10 Dec 2011   #3
Samy0806

Windows 7 Ultimate x64 SP1
 
 

Hmm, never thinked to do this...and unfortunately i can't because i don't have a restore point before this happend. Damn

Anyway thank you very much.
My System SpecsSystem Spec
.

10 Dec 2011   #4
Brink

64-bit Windows 10 Pro
 
 

Well, other than a complete reinstall, you might see if a repair install may be able to restore it. Be sure to backup anything that you do not want to lose first to be on the safe side though.
My System SpecsSystem Spec
10 Dec 2011   #5
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

To save you fiddling with sc create - I have it for you - just merge this regfile:

sysmain.reg


My System SpecsSystem Spec
10 Dec 2011   #6
Samy0806

Windows 7 Ultimate x64 SP1
 
 

Ok thanks a lot i'll see if it works.
My System SpecsSystem Spec
10 Dec 2011   #7
cluberti

Windows 10 Pro x64
 
 

You can, but you'd have to know all of the options to add (just run sc create /? to see what I mean). Or, you can import from a working machine into the registry and reboot that will have those options already configured properly.
My System SpecsSystem Spec
10 Dec 2011   #8
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by SIW2 View Post
To save you fiddling with sc create - I have it for you - just merge this regfile:

Attachment 187708
Even better Simon. I forgot about the registry values.

My System SpecsSystem Spec
11 Dec 2011   #9
Samy0806

Windows 7 Ultimate x64 SP1
 
 

Sorry to reply so late...I've merged the .reg file and after the first restart everything worked fine, the service started automatically BUT after the second restart the service doesen't start automatically and i if i try to start it manually i can start it for 2-3 times after startup for about 3 to 5 minutes then after the 2nd or 3rd time i can't start it again and i get "Error 2: The system cannot find the file specified." Actually this is the reason i've deleted it the first time. And yet again the same ploblem.

P.S. I've ran sfc /scannow there were no files missing; sysmain.dll is there in system32 folder.

Do you have any ideea about how could i fix this?


Attached Images
 
My System SpecsSystem Spec
16 Oct 2012   #10
jcrawfor74

Windows 10 64-bit
 
 
Problem solved

I had the same problem.

The issue was not only had I disable SuperFetch in services but I had edited the registry to completely disable prefetch and superfetch as well, as per the instructions on this site:
SuperFetch - Change Prefetch Data to be Cached

To fix you need to undo these registry changes

Go to this registry location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters

Edit both EnablePrefetcher and SuperFetcher and set them both to 3.

Now try to start superfetch in services and it will work.

Cheers
My System SpecsSystem Spec
Reply

 How to create(restore) SysMain service in Windows 7 SP1




Thread Tools




Similar help and support threads
Thread Forum
Windows 7 Cannot create System Restore Point
I just got done making a clean install on Windows 7 Ultimate 64-bit on a SSD drive. Then I noticed that whenever I was doing a System Update, it would try to create a restore point for many minutes and then give up and proceed with the update. Well, the bottom line is, I can't create a system...
Backup and Restore
System Restore Error, Unable to Create Restore Points
Hello everyone, not sure why but I get an error every time I open the System Restore. I rarely have to use a restore point as I regularly maintain my computer and check for viruses and malware, but I would like to have the option just in case. When I open System Properties, and click the System...
Backup and Restore
How to Slipstream Windows XP Service Pack 3 to Create an Integrated XP
how to integrate win xp sp3 slipstream into my old version win xp sp1 Cd.just i try this steps which i follow : copy the my win xp sp1 Cd in C drive and copy the Slipstream Windows XP Service Pack 3 in C drive . open the command prompt and fire the following command C:\XPSP3.EXE...
Installation & Setup
Windows 7 system restore point. Can't create / restore .
Hi Ok I borke world recored for formating windows 7 , the last 2 months . The problem is ; Windows System restore keep freezing , I'm not trying to do system restore , but when I try to install/remove a software , windows try to create restore point , making the installation/removing...
Backup and Restore
SysMain service slowing down the system
Hello, I've discovered my system is slowing down and with a bit of googling I've managed to narrow the problem down the SysMain service. http://img299.imageshack.us/img299/3285/sys1.jpg http://img215.imageshack.us/img215/2708/sys2i.jpg As you can see, when its off everything seems to be...
BSOD Help and Support
Windows will not create a restore point
Hi, I have just tried to create a restore point, and it says, Access is denied. (0x80070005). Please try again. I am running windows 7 64bit. All work well last week, the only thing downloaded was windows own updates. Hope someone can help! :cry:
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:18.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App