none
Previous Versions from command-line? RRS feed

תשובות

  • Jason

     

    There is no way to restore a VSS previous version of a file. The previous versions of files are all contained in the System Restore points on the volume that is being monitored.

     

    The only way to restore a previous version of a file or folder is to use the UI in the properties of the target file or folder.

     

    There is a command line for System Restore (rstrui.exe) however this only initiates the UI for SR.

     


    If this post helps to resolve your issue, click the Mark as Answer or Helpful button at the top of this message.
    By marking a post as Answered, or Helpful you help others find the answer faster.

    Ronnie Vernon
    Microsoft MVP
    Windows Desktop Experience
    יום חמישי 18 ספטמבר 2008 21:04
    מנחה דיון
  • Jason

     

    Your welcome, glad this helped.

     


    If this post helps to resolve your issue, click the Mark as Answer or Helpful button at the top of this message.
    By marking a post as Answered, or Helpful you help others find the answer faster.

    Ronnie Vernon
    Microsoft MVP
    Windows Desktop Experience
    יום חמישי 18 ספטמבר 2008 23:28
    מנחה דיון

כל התגובות

  •  

    Jason,

     

    Start\Run\Services.msc

    Found Volume Shadow Copy double click and change startup type to manual click in apply

    e then start

     

    try again use VSSADMIN

     

     

     

     

    יום חמישי 18 ספטמבר 2008 18:43
  • so, are you saying VSSADMIN is the command that should restore shadow copies from the command line?  What switch do I use b/c that's really my question.  I looked in help and on line and there isn't a switch to restore a file.  My guess is that the VSSADMIN tool is only for managing the shadow copy service, not shadow copies themselves.

     

     

    יום חמישי 18 ספטמבר 2008 19:30
  •  

    Jason

    VSSADMIN is only for manage the service Shadow Copy such as Volumes, Storage size and events

     

    restore a file is necessary use Windows Explorer in the properties of each folder or volume.

     

    More information

     

    http://technet.microsoft.com/en-us/library/bb491031.aspx

     

     

     

    att,

    Samuel Ribeiro

    יום חמישי 18 ספטמבר 2008 20:24
  • I know this already. I've already read the KB article.   What I don't know is this: is there a way to restore a previous version from the command line.  If not VSSADMIN, is there another tool?  I gather you must not know.  Thanks anyway.

     

    Perhaps someone else can help . . . ?

     

    Jason Yates

     

     

    יום חמישי 18 ספטמבר 2008 20:34
  • Jason

     

    There is no way to restore a VSS previous version of a file. The previous versions of files are all contained in the System Restore points on the volume that is being monitored.

     

    The only way to restore a previous version of a file or folder is to use the UI in the properties of the target file or folder.

     

    There is a command line for System Restore (rstrui.exe) however this only initiates the UI for SR.

     


    If this post helps to resolve your issue, click the Mark as Answer or Helpful button at the top of this message.
    By marking a post as Answered, or Helpful you help others find the answer faster.

    Ronnie Vernon
    Microsoft MVP
    Windows Desktop Experience
    יום חמישי 18 ספטמבר 2008 21:04
    מנחה דיון
  • Thanks!

     

    יום חמישי 18 ספטמבר 2008 21:45
  • Jason

     

    Your welcome, glad this helped.

     


    If this post helps to resolve your issue, click the Mark as Answer or Helpful button at the top of this message.
    By marking a post as Answered, or Helpful you help others find the answer faster.

    Ronnie Vernon
    Microsoft MVP
    Windows Desktop Experience
    יום חמישי 18 ספטמבר 2008 23:28
    מנחה דיון
  • My response is few years too late for the original person's question, but it may be of use to others as this post is ranked high in search engines.

    The command you are looking for is volrest.exe you can use the /? switch for examples of its use.


    • הוצע כתשובה על-ידי JonnyFofo יום רביעי 22 ינואר 2014 08:50
    יום שלישי 21 ינואר 2014 18:53
  • My reply is likewise years late, but here's what I think you're looking for:

    1. Open Windows File Explorer and navigate to the folder where you want to access previous versions
    2. Right-click -> Properties -> Previous Versions
    3. Select the time you want and click Open
    4. In the window that opens, right click in the white space and click Properties
    5. Here's the key: You'll see the "Location:" as something like "Z:\@GMT-2019.06.12-16.05.09\folderName\folderName
    6. Now open command prompt and change directory to that location from step 5. You can now use command line commands to manipulate the shadow copies, including robocopy!
    יום רביעי 12 יוני 2019 16:31
  • that helped me too,

    i updated my drivers with driver pack solution and suddenly after system restart, my mouse and keyboard stoped working.

    and by doing your advice my problem solved.

    tnks
    יום רביעי 28 אוגוסט 2019 04:51