Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows Server 系統教學 >> Server 2008

解決 Gene6 FTP Server 在 Windows Server 2008 授權後服務無法啟動:DEP 例外與 BCDEdit 關閉 NX

編輯:Server 2008

Gene6 FTP Server (G6) v3.10 在 Windows Server 2008 安裝授權檔 (registration-key.dat) 後服務無法啟動,主因為資料執行防護 (DEP) 攔截主程式 G6FTPServer.exe。解決方法:在效能選項 DEP 設定中將主程式加入例外,或透過 bcdedit 全域關閉 NX 保護 (僅限測試環境)。

現象

  • 安裝、漢化正常
  • 複製 registration-key.dat 至安裝目錄後,「Gene6 FTP Server」服務啟動失敗
  • 事件檢視器記錄應用程式錯誤,模組 ntdll.dll、例外碼 0xC0000005 (存取違規)

解決方案一:DEP 例外 (建議)

  1. 控制台 → 系統與安全性 → 系統 → 進階系統設定 → 進階 → 效能「設定」
  2. 「資料執行防護」索引標籤 → 選「除我選取的程式以外,為所有程式及服務開啟 DEP」
  3. 「新增」 → 瀏覽選取 G6FTPServer.exe → 確定 → 套用 → 重開機

解決方案二:BCDEdit 關閉 NX (不建議生產環境)

  1. 管理員 CMD 執行:bcdedit.exe /set {current} nx OptOut
  2. 重開機

官方說明 (擷取自 G6 官網)

If you're running Windows 2008 or if service no longer starts after license installation, make sure you add g6ftpserver.exe as exception in Control Panel / System / Advanced / Performance / DEP.
Using Windows 2008 R2, run DOS-prompt as Administrator and type "bcdedit.exe /set {current} nx OptOut" and reboot.

DEP 例外設定視窗

安全性提醒:關閉 NX (No-eXecute) 保護會降低系統對緩衝區溢位攻擊的防禦能力。生產環境**務必採用 DEP 例外**方式,並考慮升級至較新版本的 Gene6 FTP Server (v3.7+ 已修正相容性)。
Copyright © Windows教程網 All Rights Reserved