A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Performance and Maintainance of Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Performance and Maintainance of Windows Vista A forum for performance and maintenance tasks in Windows Vista. (microsoft.public.windows.vista.performance_maintainance)

0x80041013 Provider Load Failure on restore point script



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 25th 08, 12:07 AM posted to microsoft.public.windows.vista.performance_maintenance
MilesAhead[_2_]
external usenet poster
 
Posts: 1
Default 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.


--
MilesAhead
  #2 (permalink)  
Old July 4th 08, 08:07 PM posted to microsoft.public.windows.vista.performance_maintenance
mofmaximus
external usenet poster
 
Posts: 1
Default 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!")


--
mofmaximus
  #3 (permalink)  
Old July 4th 08, 08:41 PM posted to microsoft.public.windows.vista.performance_maintenance
Nonny
external usenet poster
 
Posts: 1,486
Default 0x80041013 Provider Load Failure on restore point script

mofmaximus wrote:


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


Good for you.

Take your problem to

microsoft.public.windowsxp.general


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!")

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.