解决安装sql挂起的批处理


@ECHO OFF

> "%Temp%.\DefOpen.reg" ECHO Windows Registry Editor Version 5.00

>>"%Temp%.\DefOpen.reg" ECHO.

>>"%Temp%.\DefOpen.reg" ECHO [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]

>>"%Temp%.\DefOpen.reg" ECHO "PendingFileRenameOperations"=""

START /WAIT REGEDIT /S "%Temp%.\DefOpen.reg"

DEL "%Temp%.\DefOpen.reg"