which command to disable system restore that occurs each time you start the operating system Windows 10 pro ?
If such a thing occurs, it means that your Windows is not okay, it is damaged and something must be every time to restore. If everything is ok, there isn't never no restoring needed and it doesn't happen never. The best way to get rid of it is to do a clean install. Otherwise the thing will go worse with each passing day, and one day the windows will not start at all.
Even if you turn system Restore off, there are a lot of programs out there that when you download and install them turn it back on. You also could try running in Admin Cmd Prompt: sfc /scannow Enter on keyboard Admin Cmd Prompt: Dism /Online /Cleanup-Image /RestoreHealth Enter on keyboard
gpedit.msc > computer configuration > administrative templates > system > system restore > turn off system restore / set to enabled
You can disable system protection (restore) also from Control Panel > Recovery. If you're worried about the disk space usage, you can reduce that to zero. Whether the above are wise actions, it'a your decision.
reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\SPP\Clients" /v "{09F7EDC5-294E-4180-AF6A-FB0E6A0E9513}" /f schtasks /Change /TN "Microsoft\Windows\SystemRestore\SR" /Disable Minimum is 1% or 320MB. Zero can not be set. vssadmin Resize ShadowStorage /For=C: /On=C: /Maxsize=1%
I've been following this thread since it was new and I'm with kaljukass. You can turn off system protection easy enough, but that's like giving a heart attack victim an aspirin and sending him on his way ... there is some underlying cause that needs to be addressed. We can certainly tell the OP how to disable system protection, but there is something wrong here. Why would any Windows computer initiate a protective act every time it starts up? Sooner or later something is going to either break completely with accompanying data loss, or the system will become intolerable to use. Since the OP has not commented again since his initial short post #1, I'm beginning to suspect trolling. But maybe not.
Indeed, not only the OP message is short and cryptic, but it is normally expected for its poster to come back with feedback/clarifications/thanks. I wouldn't go as far as to suspect trolling, but the absence of response is certainly not good manners towards those who tried to help him.
If his system was running a bad system restore, it has most likely been disabled already, so he can not respond.
Well, yeah ... like I said: "Sooner or later something is going to either break completely with accompanying data loss, or the system will become intolerable to use" So you believe the system has become unusable at this point. I can buy into that. No matter, I have nothing else to say that's even remotely useful so I'll revert to just reading waiting.
You can control the disk in order to find and improve the bad sectors and then cancel disk check every time when Windows starts. Do it manually sometimes, if have some doubts. If You'll not disable, disk check runs every time when Windows starts and/or restarts. If You have large drives, it may take very long time and most of all, it repeats on every time, if Windows starts.
But if the HDD was replaced, it shouldn't be the problem. In any case, do a disk check and see what it finds. Just bear in mind that too many such checks, e.g. on every start, do no good to the disc. They should be performed sparingly and only when needed. If the disk is OK, you should check your RAM.
If the disk was cloned the bad sector table was cloned as well, you need to reevaluate the bad sector list using chkdsk /B