Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista performance & maintenance

Vista - 0x80041013 Provider Load Failure on restore point script

Reply
 
Old 03-24-2008   #1 (permalink)


Vista Home Premium 64 bit SP1
 
 

0x80041013 Provider Load Failure on restore point script

I'm trying to create a restore point in 32 bit Vista Home Premium using a
VBScript. I can create a Restore Point the ordinary way, but using a script
generates 0x80041013 Provider Load Failure.

Can anyone tell me the dependencies of wscript? afaik I have the necessary services running. wbem folder is in the path environment variable.

Alternatively is there a programmatic way to create a restore point that doesn't rely on wscript? I'm just looking for something to create a restore point without having to go through the GUI.

My System SpecsSystem Spec
Old 07-04-2008   #2 (permalink)


Ultimate
 
 

Re: 0x80041013 Provider Load Failure on restore point script

I know this is a Vista forum but I am in the process of resolving as similar issue with XP Pro SP2.

If I find anything I will try to remember to post it here.

Good luck to us both.

Here is my script

option explicit
Dim WSHShell, SRP, CSRP, description, result
Set WSHShell = CreateObject("WScript.Shell")
description="Service Restore Point"
set SRP = getobject("winmgmts:\\.\root\default:Systemrestore")
CSRP = SRP.createrestorepoint (description, 0, 100)
result= MsgBox("Restore Point Created Successfully!")
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
System Restore Task - Change Automatic Restore Point Schedule Tutorials
RSOP Planning mode - Provider load failure. VB Script
System Restore error (create restore point), event ID: 8193 Vista General
System restore hasn't held a restore point since I installed Vista Vista General
Restore point filling drive to point of no free space Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46