在Microsoft Server中创建系统还原点. [英] System Restore Point Creation in Microsoft Server.

查看:1664
本文介绍了在Microsoft Server中创建系统还原点.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在为Windows Vista之后的所有Windows操作系统的驱动程序创建安装程序.在安装程序开始安装之前,我想在文件更改开始之前创建一个系统还原点作为安装的一部分.当我研究时 对于API,我发现在这里https://msdn.microsoft.com/zh-cn/library/windows/desktop/aa378958%28v=vs.85%29.aspx找到的SystemRestore API对Windows Server无效.换句话说,WMI服务没有为Windows Server提供对象.有没有 其他可用于此目的的API,特别是通过编程方式为Windows服务器创建还原点?

I am currently working in creating an installer for a driver for all Windows OS after Windows Vista. Before the installer begins installation, I would like to create a system restore point as part of installation before file changes begin. When i was researching for an API I found that SystemRestore API found here https://msdn.microsoft.com/en-us/library/windows/desktop/aa378958%28v=vs.85%29.aspx is not useful for Windows Server. In other terms WMI service is not providing me object for Windows Server. Is there any other APIs that can be used for this purpose, specifically programmatically create restore points for Windows server ??

推荐答案

您好,Preethi Srinivasan,

Hi Preethi Srinivasan,

感谢您在MSDN论坛中发帖.

Thank you for posting in MSDN forum.

该论坛讨论的是Visual Studio WPF/SL设计器,Visual Studio指导自动化工具包,开发人员文档和帮助系统以及Visual Studio编辑器.

This forum is discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

恐怕它与Visual Studio IDE无关,要将您重定向到正确的论坛,下面有两个问题:

I'm afraid that it is not related to visual studio IDE, to redirect you to the correct forum, I have two questions below:

(1)您的项目类型,Windows窗体,wpf,asp.net或其他类型是什么?

(1) What is your project type, windows form, wpf, asp.net or others?

(2)您使用哪种语言,C#,vb,C ++或其他语言?

(2) Which language do you use, C#, vb, C++ or others?

此外,我发现了一个有关如何在Visual Basic中创建还原点的线程,您可以参考它以查看它是否有帮助:

Besides, I found one thread about how to create restore point in visual basic, you could refer to it to see if it helps: https://social.msdn.microsoft.com/Forums/vstudio/en-US/6ff8301d-7323-49d8-80e5-47877e592563/how-to-create-system-restore-point-using-vbnet

谢谢您的理解.

最好的问候,

嘉义


这篇关于在Microsoft Server中创建系统还原点.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆