wusa /uninstall /kb:2982791
wusa /uninstall /kb:2970228
windows 服务 安装、卸载,windows卸载
1、新建项目 选中windows服务
2、添加安装程序
威尼斯网址开户网站, 3、修改安装代码
ServiceProcessInstaller processInstall;
ServiceInstaller serviceInstall;
public ProjectInstaller()
{
this.processInstall = new ServiceProcessInstaller();
this.serviceInstall = new ServiceInstaller();
processInstall.Account = ServiceAccount.LocalSystem;
this.serviceInstall.ServiceName = "ABC_TaskService";
this.serviceInstall.Description = "ABC_Description";
this.Installers.Add(this.serviceInstall);
this.Installers.Add(this.processInstall);
}
4、重新生成项目
5、新建bat文件(安装服务.bat)
@ECHO OFF
REM The following directory is for .NET1.1
set DOTNETFX=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319
set PATH=%PATH%;%DOTNETFX%
cd\
cd "G:\WindowsServiceTest\WindowsServiceTest\bin\Debug"
echo 正在安装 测试服务
echo ---------------------------------------------------
InstallUtil /i WindowsServiceTest.exe
sc config "ABC_TaskService" start= auto
Net Start "ABC_TaskService"
echo ---------------------------------------------------
pause
注意:
1、cd “G:\WindowsServiceTest\WindowsServiceTest\bin\Debug”
路径为项目的路径
2、InstallUtil /i WindowsServiceTest.exe
其中WindowsServiceTest为项目重新生成的文件名称
3、sc config “ABC_TaskService” start= auto
其中ABC_TaskService为第三步为服务起的名称
4、执行bat文件时一定要在管理员:命令提示符中操作
否则会错(无法打开计数机.上的服务控制管理器,拒绝访问等错误)
6、新建bat文件(卸载服务.bat)
@ECHO OFF
REM The following directory is for .NET1.1
set DOTNETFX=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319
set PATH=%PATH%;%DOTNETFX%
cd\
cd "G:\WindowsServiceTest\WindowsServiceTest\bin\Debug"
echo 正在卸载 测试服务
echo ---------------------------------------------------
InstallUtil /U WindowsServiceTest.exe
echo ---------------------------------------------------
pause
安装服务.bat下载
卸载服务.bat下载
服务 安装、卸载,windows卸载 1、新建项目
选中windows服务 2、添加安装程序 3、修改安装代码 ServiceProcessInstaller
processInstall; ServiceIns…
windows10怎么卸载程序?win10如何卸载删除程序?,windows10win10
系统如果使用ghost安装系统或使用U盘启动来安装,GHOST肯定不是纯系统,U盘有些会自带安装软件。卸载程序的方式很多。可通过一个一个安装包所有的位置来卸载,这个方法是不可取的。系统有一个集合管理。通过集合管理来卸载更加方便。
第一步,右键点击”windows菜单”。这里集成好多快捷方式。
再点击“程序和功能”,也可以直接按“X”进入。
在此处找到需要卸载的软件,aqiyi为例子。
右键点击aqiyi,卸载此软件。
之后会弹出卸载的界面。“继续卸载”此软件。
选择“卸载 将爱奇艺PPS从电脑中卸载”,然后再“继续卸载”。
之后会弹出卸载的原因。无需理会,“继续卸载”。并等待卸载完成。
系统如果使用ghost安装系统或使用U盘启动来安装,GHOST肯定不是纯系统,U盘有…
Windows8预览版已经发布一星期了,好多童鞋都安装了双系统(大多数是Windows7+Windows8),出于必要,今天就来写一篇双系统卸载Windows8的教程。 1.重新启动进入另外一系统 2.格式化掉Windows8所在的盘符 3.用 Bcdedit 编辑启动菜单 (见下面附件) Bcdedit 在NT60系列操作系统(Windows 7/Vista/2008)中的一个命令行工具,用于建立和重新配置bootloader,后者无须再使用boot.ini文件。也就是说,使用BCDEdit这个工具,能够修改NT60 系列系统的启动菜单。 点击 BCD Edit – View/Edit
在 Bcdedit 左侧边栏可以看到 Windows8 Developer Preview ,按 DEL 删除 Windows8 Developer Preview 启动菜单 附件下载 http://www.imuyang.com/thread-13768-1-1.html |
Windows8预览版已经发布一星期了,好多童鞋都安装了双系统(大多数是Windows7+Windows8),出于必要,今天就来写一篇双系统卸载Windows8的教程。 1.重新启动进入另外一系统 2.格式化掉Windows8所在的盘符 3.用 Bcdedit 编辑启动菜单 (见下面附件) Bcdedit 在NT60系列操作系统(Windows 7/Vista/2008)中的一个命令行工具,用于建立和重新配置bootloader,后者无须再使用boot.ini文件。也就是说,使用BCDEdit这个工具,能够修改NT60 系列系统的启动菜单。 点击 BCD Edit – View/Edit
在 Bcdedit 左侧边栏可以看到 Windows8 Developer Preview ,按 DEL 删除 Windows8 Developer Preview 启动菜单 附件下载 http://www.imuyang.com/thread-13768-1-1.html |
和某些应用软件冲突时,需要将上述补丁卸载。