Chris,
Available as a standard System call in VB:

'GetLastRestoreStatus Method of the SystemRestore Class
'Retrieves the status of the last system restore.

Set obj = 
GetObject("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore")
stat = obj.GetLastRestoreStatus()
If stat = 0 Then
    wscript.Echo "Failed"
ElseIf stat = 1 Then 
    wscript.Echo "Success"
ElseIf stat = 2 Then
    wscript.Echo "Interrrupted"
End If

Also take a look at the registry settings:

http://stackoverflow.com/questions/8620416/c-sharp-getting-status-of-systemrestore-from-the-registry

Dave

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Chris Davis
Sent: 20 April 2015 13:52
To: [email protected]
Subject: [NF] System Restore

Hi All,

Is there any way of knowing if system restore has been used?

Thanks

Chris.

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
______________________________________________________________________

--- StripMime Report -- processed MIME parts --- multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to