1. 程式人生 > >win10升級後,已經安裝的sql2000提示無法定位序數1於動態連結庫sqlunirl.dll解決辦法

win10升級後,已經安裝的sql2000提示無法定位序數1於動態連結庫sqlunirl.dll解決辦法

轉自:http://blog.sina.com.cn/s/blog_a8dc361e0102wt37.html

解決方法:

1、首先取得許可權,TrustedInstaller許可權.只要將下面的登錄檔檔案匯入,就有TrustedInstaller許可權。    登錄檔下載連結: http://pan.baidu.com/s/1i4cLutR 密碼: bxfv 2、在c:\windows\syswow64中右鍵取得sqlunirl.dll的“獲取TrustedInstaller許可權",點選確認即可。 3、找到在sql安裝盤裡的\X86\SYSTEM下的sqlunirl.dll檔案,然後右鍵上面有個"獲取
TrustedInstaller許可權",點確認,就可以。然後將該檔案複製到c:\windows\syswow64進行替換,就可以開啟mssql2000了。一切正常。

登錄檔新增許可權的的內容,儲存成副檔名為reg:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\runas]

@="獲取TrustedInstaller許可權"

[HKEY_CLASSES_ROOT\*\shell\runas\command]

@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]

@="獲取TrustedInstaller許可權"

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]

@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"