Page 9 of 15 FirstFirst ... 7891011 ... LastLast

  1. Joined : Sep 2016
    Posts : 27
    Windows 10
       2016-09-07 #80

    dalchina said: View Post
    A while back you mentioned "now get VSS error."
    Does the event log tell you anything helpful?
    What was the error msg - have you researched it?
    Look at post #61....it says handler issue.
    System Restore Point shortcut - Create in Windows 10 - Page 7 - Windows 10 Forums

    I am not a VSS guy nor do I understand the script so my fishing/googling for answers is not going to produce anything.
    I have a solution that works........the CMD line.........
    cmd.exe /k "wmic.exe /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "My Shortcut Restore Point", 100, 7"
    ....which also uses VSS, no errors, and provides a RP created.

    I'm willing to help debug/test any changes to the script but I can't provide any knowledgable insights on why.
    My suggestion is to boil down what the script is trying to run/launch for the RP command into a hard coded one or two line example I can put in a BAT file and see if works. It appears from reading the script that the coder is creating a shell app.......if so, something within that code is no longer valid to VSS under some new condition for some W10 configs within .105. I'm willing to test a hard coded (simplified...even more than the "test" one) version but past that I don't know how to proceed.
      My System SpecsSystem Spec


  2. Joined : Sep 2016
    Posts : 1
    Windows 10
       2016-09-07 #81

    I am having this exact same issue. The script no longer works. I can manually create a system restore point, but the script now gives me VSS errors, even if I manually run the script. It creates an 8193 error that says either:

    Volume Shadow Copy Service error: Unexpected error calling routine QueryFullProcessImageNameW. hr = 0x80070006, The handle is invalid..

    Operation:
    Executing Asynchronous Operation

    Context:
    Current State: DoSnapshotSet

    or

    Volume Shadow Copy Service error: Unexpected error calling routine QueryFullProcessImageNameW. hr = 0x8007001f, A device attached to the system is not functioning.
    .

    Operation:
    Executing Asynchronous Operation

    Context:
    Current State: DoSnapshotSet


    This error only started after the Anniversary Update.
      My System SpecsSystem Spec


  3. Joined : Sep 2016
    Posts : 27
    Windows 10
       2016-09-07 #82

    MadDemon64 said: View Post
    I am having this exact same issue. The script no longer works. I can manually create a system restore point, but the script now gives me VSS errors, even if I manually run the script. It creates an 8193 error that says either:

    Volume Shadow Copy Service error: Unexpected error calling routine QueryFullProcessImageNameW. hr = 0x80070006, The handle is invalid..

    Operation:
    Executing Asynchronous Operation

    Context:
    Current State: DoSnapshotSet

    or

    Volume Shadow Copy Service error: Unexpected error calling routine QueryFullProcessImageNameW. hr = 0x8007001f, A device attached to the system is not functioning.
    .

    Operation:
    Executing Asynchronous Operation

    Context:
    Current State: DoSnapshotSet


    This error only started after the Anniversary Update.
    I mean this in the most light hearted way....YEAH !!!!
    Thought I was going crazy and the experts here I think were wondering if it is a "poster system one-off issue".
    Anyway, welcome aboard !!!! ....I'm sure these guys will figure it out.....smart cookies.

    In mean time you can use this command...
    cmd.exe /k "wmic.exe /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "My Shortcut Restore Point", 100, 7"
    as a stop gap until the script is fixed.....not as elegant but works.

    Note, under CMD the /k means to keep command prompt open, /c means to close.
    I use the /c version under my task scheduler so it runs daily and the window pops up for 30 seconds or so then closes.
    I use the /k version on my Desktop as shortcut.

    Again, do not like it as much as this script.....not as clean, but will work in mean time.
    Last edited by Brink; 2016-09-07 at 10:54.
      My System SpecsSystem Spec


  4. Joined : Jan 2015
    UK, Midlands
    Posts : 6,242
    Win 10 Pro (1607)
       2016-09-07 #83

    You could try Tweaking.com's free cautious repair tool - select only the Repair VS Copy Service repair.

    And you could think about trying this:
    VSS error 8193

    Ok, different specific error, but same kind of general error.
    Nothing ventured.. nothing gained. You could at least look at that reg. key.
      My System SpecsSystem Spec


  5. Joined : Sep 2016
    Posts : 27
    Windows 10
       2016-09-07 #84

    dalchina said: View Post
    You could try Tweaking.com's free cautious repair tool - select only the Repair VS Copy Service repair.
    Sorry, but the problem is not with our PCs (O/S).....it is with the script.
    I ran SFC and no integrity issues.
    Also, the VSS works fine with both the manual CP > System & also CMD line creation.
    VSS also works fine with my Macrium Image of my HDD daily to USB HDD.
    I'm not going to experiment on my PC...clearly not a "PC" issue.
    You also have poster that it fails on with multiple HDDs enabled.
    Check out the crazy video on post #66: System Restore Point shortcut - Create in Windows 10 - Page 7 - Windows 10 Forums

    I'm willing to test out more cut down VBS to get to root cause....my recommendation is to provide a hard coded string that I can put in BAT file to see if works.....my efforts here are to help with something that clearly has a coding issue. I have a solution with the CMD string that works fine.....I'm but not going to jeoporadize my PC in any way by running other utils, etc.

    IMHO there are many folks having this problem but since the script "completes" they really have no idea if the RP was truly created unless they go check, nor do they know there was associated VSS issue for reason of failure.
    It would take more than the average user to note/check these things.....AND nothing to alarm them things are wrong.
      My System SpecsSystem Spec


  6. Joined : Sep 2016
    Posts : 27
    Windows 10
       2016-09-07 #85

    dalchina said: View Post
    You could try Tweaking.com's free cautious repair tool - select only the Repair VS Copy Service repair.
    And you could think about trying this:
    VSS error 8193

    Ok, different specific error, but same kind of general error.
    Nothing ventured.. nothing gained. You could at least look at that reg. key.
    Yes, things ventured can really F-Up things.

    And YES, if you read in prior parts of thread there is no .BAK in registry for User Profile.
    Look at my post #63: System Restore Point shortcut - Create in Windows 10 - Page 7 - Windows 10 Forums
    The VSS works....just not within this script.
      My System SpecsSystem Spec


  7. Joined : Oct 2013
    Posts : 16,593
    64-bit Windows 10 Pro build 14986
       2016-09-07 #86

    @thekochs,

    I don't like how crude the command currently runs, and would like to use it but with the same way the scripts in the tutorial run for better usage.

    I'm going to work on completely rewriting the scripts today to use the newer command, then post back with it for you to test if you like.
      My System SpecsSystem Spec


  8. Joined : Sep 2016
    Posts : 27
    Windows 10
       2016-09-07 #87

    Brink said: View Post
    @thekochs,

    I don't like how crude the command currently runs, and would like to use it but with the same way the scripts in the tutorial run for better usage.

    I'm going to work on completely rewriting the scripts today to use the newer command, then post back with it for you to test if you like.
    Agreed.........CMD is brute force but works in mean time.

    Happy to try what you come up with.
    My suggestion is you will create a script with a lot of IF/THEN to ID things.
    If you want to send me a line or two that is the RAW RP creation that we can put in simple BAT file (eliminates VBS issue) then I can try.
    If that works then you can build the nice script around it.
      My System SpecsSystem Spec


  9. Joined : Oct 2013
    Posts : 16,593
    64-bit Windows 10 Pro build 14986
       2016-09-07 #88

    Ok @thekochs,

    Here are two scripts to test. If it works for you, then I'll use it with a version that you can enter your own restore point description like step 4 and 5.

    The first one below, is a basic one just to test the W10 command. You'll just need to run the .vbs, and click on Yes in the UAC prompt to allow.

    Test_Instant_Restore_Point.vbs

    The second one below, is to test the same W10 command above, but also using get OS from the original script for compatibility with previous Windows. This is to test to make sure none of the get OS is working with W10 command for you as well.

    Instant_Restore_Point.vbs
      My System SpecsSystem Spec


  10. Joined : Sep 2016
    Posts : 27
    Windows 10
       2016-09-07 #89

    Brink said: View Post
    Ok @thekochs,

    Here are two scripts to test. If it works for you, then I'll use it with a version that you can enter your own restore point description like step 4 and 5.

    The first one below, is a basic one just to test the W10 command. You'll just need to run the .vbs, and click on Yes in the UAC prompt to allow.

    Test_Instant_Restore_Point.vbs

    The second one below, is to test the same W10 command above, but also using get OS from the original script for compatibility with previous Windows. This is to test to make sure none of the get OS is working with W10 command for you as well.

    Instant_Restore_Point.vbs
    OK...tried the first one but go no UAC prompt.......did not create RP & VSS error.
    Oddly here is window is generated which looked like the window from CMD line.
    Click image for larger version. 

Name:	script.jpg 
Views:	15 
Size:	114.3 KB 
ID:	100343

    This was at header of above when "running"
    Click image for larger version. 

Name:	2016-09-07_132646.jpg 
Views:	17 
Size:	55.2 KB 
ID:	100345

    I then ran the CMD line one I have and it DID create RP & no VSS issue......here is pic of that window.
    Click image for larger version. 

Name:	CMD.jpg 
Views:	29 
Size:	105.2 KB 
ID:	100344
    This was header of the above CMD when "running"
    Click image for larger version. 

Name:	2016-09-07_132840.jpg 
Views:	20 
Size:	45.6 KB 
ID:	100346

    So, other than the name in quotes "*****" the difference is 100, 7 vs 100, 0 ?

    UPDATE
    I changed your VBS code from 0 to 7...and it worked !!!!!
    WScript.CreateObject ("WScript.Shell").run "cmd /k ""wmic.exe /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint ""Instant Restore Point"", 100, 7"""
    What is that parameter ?
      My System SpecsSystem Spec


 
Page 9 of 15 FirstFirst ... 7891011 ... LastLast


Similar Threads
Tutorial Category
Shortcut Arrow Icon - Change, Remove, or Restore in Windows 10
How to Change, Remove, or Restore Shortcut Arrow Overlay Icon in Windows 10 A shortcut is a link to an item (such as a file, folder, or app) on your PC. You can create shortcuts and then place them in a convenient location, such as on the...
Tutorials
System Restore Point - Create in Windows 10
How to Create a System Restore Point in Windows 10 If you're having problems with Windows 10 on your PC, you can try to refresh, reset, or restore it. System Restore uses a feature called system protection that regularly creates and saves...
Tutorials
This PC Shortcut - Create in Windows 10
How to Create a This PC Shortcut in Windows 10 My Computer was changed to This PC in Windows 8.1 and Windows RT 8.1. You would open File Explorer to view This PC. In Windows 10, File Explorer now opens to Quick access by default instead of...
Tutorials
Build 10130, No Restore Point
I updated my build this morning to build 10130 and everything on my system seems to be running so nice and smooth that I wanted to create a restore point. When I open the System Protection pane to create a restore point, everything is grayed out and...
Windows Insider
Restoring from Restore point - still no luck
After many, many attempts... installs, reinstalls, upgrades, ISO installs, the whole journey, I still cannot get a restore point to restore without messing up! No problem creating, no problem actually restoring, from control panel or boot. But...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 06:56.
Find Us
Twitter Facebook Google+



Windows 10 Forums