-
FBWF
控制台实用指南
通过本文您可以了解到
FbwfMg
r
(
FBWF
控制台)全部命令。
p>
先介绍一下
EWF
(增强的写入过滤器)和
FBWF
(基于文件的写过滤器)。
两者都是
能起到保护系统的作用,不同的是
EWF
基于磁盘扇区而
FBWF
基于文件。所以
在写保护状态下<
/p>
EWF
只能以分区为单位进行写保护,而
FBWF
能以文件为单位进行写保
护。并且可已将覆盖缓存以文
件单位写入磁盘。
本文以
FP200
7
的
FBWF
为基础
< br>
下面介绍一下
FbwfMg
r
的使用。
Mobile XP
p>
(
MXP
)
BET
A2
都是使用的
FBWF
,系统自带
有
FBWF
控制台(
FbwfMgr<
/p>
)
/
ttp:///?tid=126780
开始菜单—〉运行输入
CMD
,打开命令提示符。之后需要的输入命令
1.
查看
F
BWF
的状态
Fbwfmgr
//
查看
FBWF
的状态。
也可以使用
Fbwfmgr
/displayconfig
//
查看
FBWF
的状态。
成功返回:
File-based
write filter configuration for the current
session:
//
当前
FBWF
状态。
filter state: enabled.
// FBWF
现在处在开状态。
overlay cache data compression state:
enabled.
//
压缩覆盖缓存:开启。
解释一下
FBWF
拦截的数据放在缓冲区中即覆
盖缓存
overlay cache threshold:
1024 MB.
//
覆盖缓存区
大小:
1024MB
。
overlay cache pre-allocation:
disabled.
//
覆盖缓存
预分配:关闭。开启后会预先分配
FBWF
的覆盖缓存。
size display: virtual
mode.
//
覆盖缓存:虚拟模
式。
FBWF
具有两种模式实际模式和虚拟模式,在虚拟模式下
覆盖缓
存的可用容量
=
被写保护驱动器
显示的可用容量。
例如
C
驱动器被写保护,当前(虚拟模式,系统运行)
C
驱动器还有
128MB
的可用空间
即表
示覆盖缓存还有
128MB
可用。
protected
volume list:
DeviceHarddiskVolume1
//
当前受写保护的驱动器,这里用驱动器号表示
HarddiskVolume1=C
:
HarddiskVolume2=D
:
< br>
……
注意:有时候不是按顺
序排的。例如:
HarddiskVolume3=D
:
例如
write through
list of each protected volume:
DeviceHarddiskVolume1:
Documents and
SettingsAdministratorLocal SettingsTemp
Documents and
SettingsAdministratorLocal SettingsTemporary
InternetFiles
Documents and SettingsAdministratorMy
Documents
Documents and
SettingsAdministrator
桌面
Documents and SettingsAll
UsersMy Documents
Documents and SettingsAll
Users
桌面
RegfData
WINDOWSTEMP
userdata
//FBWF
p>
的豁免写保护列表。在列表中的文件或文件夹不受写保护。
Devi
ceHarddiskVolume3: (none)
表示整个驱动器(
HarddiskVolume3
)又受到写保
护。
注意:
RegfData
文件如果存在在
C
:下不要将其从豁免写保护列表
中手动删除和添加。
同样不要尝试添加和删除
< br>
File-based write filter
configuration for the next session:
p>
//
下次启动系统(系统重起后)
FBWF
状态。
filter state:
disabled.
//
FBWF
在下次启动被关闭。
2.
FBWF
的开启和关闭。
开启:
FbwfMgr
/enable
成功返回:
File-based write filter will be enabled
on the next reboot.
关闭:
FbwfMgr
/disable
成功返回:
File-based write filter will be
disabled on the next reboot.
注意:两条命令都重起后生效
3.
向
<
/p>
FBWF
豁免写保护列表添加删除驱动器(添加删除受
FBWF
控制的驱动器)
添加:
FbwfMgr
/addvolume DeviceHarddiskVolume3
//
添加
DeviceHarddiskVolu
me3
添加驱动器到
FBWF
豁免写
保护列表,默认列表为空
(该驱动器将受到
FBWF
保护)
也可以这样写
FbwfMgr /addvolume D:
//
添加
D
:驱动器到
FBWF
豁免写保护列表<
/p>
正常返回:
Volume
DeviceHarddiskVolume3
will be protected after the next
reboot.
或者
Volume d: will be protected after the
next reboot.
错误返回:
Volume
cannot be added. Filter is not enabled for the
next session.
//
下
次
FBWF
为关闭状态
,
开启才能使用。
删除:
FbwfMgr
/removevolume DeviceHarddiskVolume3 1
<
/p>
//
从
FBWF
豁免写保护列表删除
HarddiskVolume3
驱动器
(该驱动器将不再受到
FBWF
保护)
也可以这样写
FbwfMgr
/removevolume d: 1
//
从
FBWF
豁免写保护列表删除
d:
驱动器
注意本命令有一个开关
1
代表:重起后删除该驱动器豁免写保护列表。
0
代表:重起后不删除该驱动器豁免写保护列表。
正常返回:
Volume
DeviceHarddiskVolume3 will not be protected after
the next reboot.
或者
Volume d: will
not be protected after the next reboot.
错误返回:
Volume
cannot be added. Filter is not enabled for the
next session.
//
下
次
FBWF
为关闭状态
,
开启才能使用。
注意:两条命令都是重起后生效,
并且下次重起
FBWF
为开启状态才能执行。
< br>
4.
< br>向
FBWF
豁免写保护列表(不受
FBWF
写保护)添加文件夹。
添加文件夹:
FbwfMgr
/addexclusion DeviceHarddiskVolume1
Temp
//
将
DeviceHarddiskVolume1Temp
文件夹添加进
FBWF
豁免写保护列表。
也可以这样写:
FbwfMgr /addexclusion c: Temp
//
将
c:
Temp
文件夹添加到
FBWF
豁免写
保护列表。
成功返回:
Path Temp
on volume DeviceHarddiskVolume1 will be in the
exclusion list after
the next
reboot.
或者
Path Temp on volume c: will be in the
exclusion list after the next reboot.
错误返回:
Path cannot be added. Filter is not
enabled for the next session.
//
下次
FBWF
< br>为关闭状态
,
开启才能使用。
注意:命令中磁盘号和文件夹路径有一个空格。
命令中盘符和文件夹路径有一个空格
例如:正确的表示:
DeviceHarddiskVolume1 Temp
或者
c: Temp
错误的表示:
DeviceHard
diskVolume1Temp
或者:
c:Temp
注意:命令重起后生效,并且下次重起
FBWF
为开启状态才能执行。
即使路径不存在也可以添加,但是必须先用
FbwfMgr /
addvolume
命令
添加驱动器否
则会出现错误:
FbwfMgr failed:
系统找不到指定的驱动器。
5.
向
FB
WF
豁免写保护列表(不受
FBWF
写
保护)添加文件。
FbwfMgr
/addexclusion DeviceHarddisklume1
//
将
文件
添加进
FBWF
豁免写保护列表。
也可以这样写
FbwfMgr
/addexclusion c:
//
将
c:
文件添加进
FBWF
豁免写保护列表。
成功返回:
Path on
volume DeviceHarddiskVolume1 will be in the
exclusion list after
the next
reboot.
或者
Path on volume c: will be in the
exclusion list after the next reboot.
错误返回:
Path cannot
be added. Filter is not enabled for the next
session.
//
下次
FBWF
为关闭状态
,
开启才能使用。
注意:命令中磁盘号和文件路径有一个空格。
命令中盘符和文件路径有一个空格
例
如:正确的表示:
DeviceHarddiskVolume1
或者
c:
错误的表示:
或者:
c:
注意:。
命令重起后生效,并且下次
重起
FBWF
为开启状态才能执行。
即使路径不存在也可以添加,但是必须先用
FbwfMgr /
addvolume
命令
添加驱动器否
则会出现错误:
FbwfMgr failed:
系统找不到指定的驱动器。
6.
删除
F
BWF
豁免写保护列表(不受
FBWF
写保护)的文件夹
FbwfMgr
/Removeexclusion DeviceHarddiskVolume1 Temp
//
将
De
viceHarddiskVolume1Temp
从
FBW
F
豁免写保护列表中删除。
也可以这样写:
FbwfMgr
/Removeexclusion c: Temp
//
将
c:Temp
文件夹从
FBWF
豁免写保护列表中删除。
注意:命令中磁盘号和文件夹路径有一个空格。
命令中盘符和文件夹路径有一个空格
例如:正确的表示:
DeviceHarddiskVolume1 Temp
或者
c: Temp
错误的表示:
DeviceHard
diskVolume1Temp
或者:
c:Temp
注意:命令重起后生效,并且下次重起
FBWF
为开启状态才能执行。
7.
删除
F
BWF
豁免写保护列表(不受
FBWF
写保护)的文件
FbwfMgr
/Removeexclusion DeviceHarddisklume1
//
将
文件
添加进
FBWF
豁免写保护列表。
也可以这样写
FbwfMgr
/Removeexclusion c:
//
将
c:
文件从
BWF
豁免写保护列表中删除。
注意:命令中磁盘号和文件路径有一个空格。
命令中盘符和文件路径有一个空格
例
如:正确的表示:
DeviceHarddiskVolume1
或者
c:
错误的表示:
或者:
c:
注意:
命令重起后生效,并且下次重
起
FBWF
为开启状态才能执行。
8.
将<
/p>
FBWF
覆盖缓冲区的文件写入磁盘(将改变的文件写入磁盘保存
)
FbwfMgr /commit
DeviceHarddisklume1
//
将
从<
/p>
FBWF
覆盖缓冲区写入磁盘(重起后
<
/p>
不会
复位)
也可以这样写
FbwfMgr
/commit c:
//
将
p>
从
FBWF
覆盖缓
冲区写入磁盘(重起后
不会
复位)
p>
成功返回:
Changes made to file on volume C: are
committed.
注意:不支持文件夹和通配符(
*.*
)。
(使用
通配符发现返回下列错误:测试的时候发现
FbwfMgr failed:
Windows
无法找到
网络路径。请确认网络路径正确并且
目标计算机不忙或已关闭。
如果
Windows
仍然无
-
-
-
-
-
-
-
-
-
上一篇:园林常见水生植物图片及简介
下一篇:VB6.0中用户类和数据源类的设计和使用技术