zoukankan      html  css  js  c++  java
  • sqlserver服务丢失的解决办法

    最近遇到了多次SQLServer2000 的windows服务项丢失的现象...网上搜索了下sc create的命令,手动的添加服务进去...但是比较麻烦...

    简单的就是从同事的机器上把注册表中记录的服务信息拷贝一份,再导入我的电脑中;

    注册表全文如下:(注意修改路径)

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLSERVER]
    "Type"=dword:00000010
    "Start"=dword:00000002
    "ErrorControl"=dword:00000001
    "ImagePath"="C:\PROGRA~1\MICROS~1\MSSQL\binn\sqlservr.exe"
    "DisplayName"="MSSQLSERVER"
    "ObjectName"="LocalSystem"

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLSERVER\Linkage]
    "Export"=hex(7):4d,00,53,00,53,00,51,00,4c,00,53,00,45,00,52,00,56,00,45,00,52,\
      00,00,00,00,00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLSERVER\Performance]
    "Library"="C:\\PROGRA~1\\MICROS~2\\MSSQL\\BINN\\SQLCTR80.DLL"
    "Collect"="CollectSQLPerformanceData"
    "Open"="OpenSQLPerformanceData"
    "Close"="CloseSQLPerformanceData"
    "Last Counter"=dword:00000a00
    "Last Help"=dword:00000a01
    "First Counter"=dword:000008ec
    "First Help"=dword:000008ed
    "WbemAdapFileSignature"=hex:d6,a0,b9,c1,d1,85,78,63,4f,31,8b,f2,18,51,1a,5d
    "WbemAdapFileTime"=hex:10,c8,60,df,8e,5c,cb,01
    "WbemAdapFileSize"=dword:0000803b
    "WbemAdapStatus"=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLSERVER\Security]
    "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
      00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
      00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
      05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
      20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
      00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
      00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLSERVER\Enum]
    "0"="Root\\LEGACY_MSSQLSERVER\\0000"
    "Count"=dword:00000001
    "NextInstance"=dword:00000001

  • 相关阅读:
    python3--函数(函数,全局变量和局部变量,递归函数)
    Acunetix Web Vulnarability Scanner V10.5 详细中文手册
    Splunk学习与实践
    Visual studio code离线安装插件
    calling c++ from golang with swig--windows dll(一)
    Golang版protobuf编译
    大型网站架构系列:负载均衡详解(3)
    大型网站架构系列:负载均衡详解(2)
    大型网站架构系列:负载均衡详解(1)
    大型网站架构系列:分布式消息队列(二)
  • 原文地址:https://www.cnblogs.com/kk1230/p/1836457.html
Copyright © 2011-2022 走看看