2、安装微软的RAMDISK_安装控制器,导入下面内容的注册表:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ramdisk]
"Start"=dword:00000000
复制注册表文件A.reg到A:\WINDOWS下。A.reg内容如下:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control]
"CurrentUser"="USERNAME"
"WaitToKillServiceTimeout"="20000"
"SystemStartOptions"="NOEXECUTE=OPTIN FASTDETECT"
"SystemBootDevice"="ramdisk(0)"
复制文件FBWF.vbs到A:\Documents and Settings\All Users\Start Menu\Programs\Startup目录下。FBWF.vbs内容如下:
DIM objShell
set objShell=wscript.createObject("wscript.shell")
iReturn=objShell.Run("cmd.exe /C X:\fbwf.bat", 0, TRUE)