广告广告
  加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 9759 个阅读者
 
发表文章 发表投票 回覆文章
  可列印版   加为IE收藏   收藏主题   上一主题 | 下一主题   
baturn
数位造型
个人文章 个人相簿 个人日记 个人地图
路人甲
级别: 路人甲 该用户目前不上站
推文 x0 鲜花 x0
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
推文 x0
[绘图软体][讨论] [求助]XP出现"Windows 档案保护"的视窗???
前几天开始一直跳出"Windows 档案保护"的视窗
那时候我是用超级XP7.1 然后我换AUTO XP V2005.02
还是一样~然后又换回旧版的超级XP6.2还是一样~~
我有去网站找以下是他的方法
===================================================================
停用 Windows 档案保护

您可能经由设定在 HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon 设定 SFCDisable (REG_DWORD) 的值来停用 WFP。依预设,SFCDisable ..

访客只能看到部份内容,免费 加入会员 或由脸书 Google 可以看到全部内容



献花 x0 回到顶端 [楼 主] From:台湾中华电信 | Posted:2005-03-09 01:03 |
kuen656
数位造型
个人文章 个人相簿 个人日记 个人地图
小人物
级别: 小人物 该用户目前不上站
推文 x0 鲜花 x3
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
Re:[求助]XP出现"Windows 档案保护"的视窗???
微软预设 'Windows 档案保护' 是要启用,因而设 SFCDisable = 1 他会不断问是否要启动,若设为 2 只再下次开机停用并不会显示讯息(至于第二次重开是否设定有效,不得而知除非做个Lab)
我用SuperXP 5.9 Fix3 (全自动安装) 不用出现该讯息。


献花 x0 回到顶端 [1 楼] From:台湾和网宽频 | Posted:2005-03-10 10:43 |
cyan215 手机
数位造型
个人文章 个人相簿 个人日记 个人地图
小人物
级别: 小人物 该用户目前不上站
推文 x0 鲜花 x15
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
Re:[求助]XP出现"Windows 档案保护"的视窗???
这个我也想知道~~
他总是一直会出现~~
我想把它关掉不知从何下手!~
我想我先试试楼长大大的方法在看看可不可以~~


献花 x0 回到顶端 [2 楼] From:台湾教育部 | Posted:2005-03-12 00:18 |
takihom0812
个人头像
个人文章 个人相簿 个人日记 个人地图
初露锋芒
级别: 初露锋芒 该用户目前不上站
推文 x1 鲜花 x135
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
Re:[求助]XP出现"Windows 档案保护"的视窗???
关闭视窗 2000 /xp的档案保护
Disable Windows File Protection (Windows 2000/XP) Popular
Windows 2000 and XP include a feature called Windows File Protection (WFP), part of the System File Checker, which is intended to avoid some of the common DLL consistency issues. This feature may also block valid attempts to change system files and it can therefore be disabled using this tweak.
Change the Size of the Windows File Protection 快取 (Windows 2000/XP)
The Windows File Protection feature of Windows stores copies of common DLL files and replaces them if the original becomes damaged or lost. This tweak lets you control the maximum amount of space available to be consumed by the backup DLL's.

Disable Windows File Protection (Windows 2000/XP) Popular
Windows 2000 and XP include a feature called Windows File Protection (WFP), part of the System File Checker, which is intended to avoid some of the common DLL consistency issues. This feature may also block valid attempts to change system files and it can therefore be disabled using this tweak.

Manage Windows File Protection Scans (Windows 2000/XP)
This setting controls whether the Windows File Checker (SFC) should scan and replace the protected files during boot up.

Specify the Directory to Store 快取d SFC Files (Windows 2000/XP)
This entry is used to specify which directory the Windows File Checker (SFC) should use to store the cached copies of protected files.

Display SFC Progress Meter (Windows 2000/XP)
Specifies whether the Windows File Checker (SFC) progress meter should be displayed during file checking.

Enable System File Protection Popup Notifications (Windows Me)
This tweak controls whether a popup notification message is shown when the System File Protection (SFP) service performs an action.

Windows File Checker Command-line Options (Windows 2000)
The Windows File Checker is used to scans all the protected system files and replaces incorrect versions with a cached copy of the correct version. These are the command-line options to control the Windows file protection (WFP) utility.


This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial !
http://www.winguides.c...?isplugin
Open your registry and find the key below.
Change the value of "SFCDisable" to equal "ffffff9d" to disable WFS or "0" to enable it. The other valid hexadecimal values are:


1 - disabled, prompt at boot to re-enable
2 - disabled at next boot only, no prompt to re-enable
4 - enabled, with popups disabled
ffffff9d - for completely disabled
Restart Windows for the change to take effect.

Additional Steps for Windows 2000 Service Pack 2 and Windows XP
This setting is disabled in Windows 2000 SP2 and Windows XP, and needs to re-enabled using a hex editor and changing SFC.DLL (or SFC_OS.DLL for Windows XP) following these instructions:

Windows 2000 SP2

Make a backup the SFC.DLL in the C:\WINNT\SYSTEM32 directory.
Make an additional copy of SFC.DLL called SFC1.DLL and open it in a hex editor.
At offset 00006211 (6211h) you should find the values "8B" and "C6". Do not continue if you are unable to find these values.
Change the values "8B C6" to read "90 90" and save the changes.
Run these commands to update the system files:
copy c:\winnt\system32\sfc1.dll c:\winnt\system32\sfc.dll /y
copy c:\winnt\system32\sfc1.dll c:\winnt\system32\dllcache\sfc.dll /y

If you are prompted to insert the Windows CD, click Cancel.
Restart Windows for the change to take effect.
Windows XP

Make a backup the SFC_OS.DLL in the C:\WINDOWS\SYSTEM32 directory.
Make an additional copy of SFC_OS.DLL called SFC_OS1.DLL and open it in a hex editor.
Windows XP (no Service Pack)
At offset 0000E2B8 (0E2B8h) you should find the values "8B" and "C6".
Windows XP (Service Pack 1)
At offset 0000E3BB (0E3BBh) you should find the values "8B" and "C6".
Do not continue if you are unable to find these values.
Change the values "8B C6" to read "90 90" and save the changes.
Run these commands to update the system files:
copy c:\windows\system32\sfc_os1.dll c:\windows\system32\sfc_os.dll /y
copy c:\windows\system32\sfc_os1.dll c:\windows\system32\dllcache\sfc_os.dll /y

If you are prompted to insert the Windows CD, click Cancel.
Restart Windows for the change to take effect.
Once these files have been updated apply the registry setting above.

Note: You must manually modify the operating system files using a hex editor to allow this tweak to disable SFC on Windows 2000 (SP1+) or Windows XP.




 
(Default) REG_SZ (value not set)
SFCDisable REG_DWORD 0xffffff9d (4294967197)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVers...



Registry Settings
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
类型 Name: SFCDisable
Data Type: REG_DWORD (DWORD 类型)
类型 Data: 0 = enabled (default), ffffff9d = disabled


Related Tweaks


Change the Size of the Windows File Protection 快取 (Windows 2000/XP)
Manage Windows File Protection Scans (Windows 2000/XP)
Specify the Directory to Store 快取d SFC Files (Windows 2000/XP)
Display SFC Progress Meter (Windows 2000/XP)
Windows File Checker Command-line Options (Windows 2000)
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.
参考资料:

WINDOWS 档案保护机制

-- 小议Windows文件保护机制


微软为了提高Windows系统的可靠性和稳定性,从Windows 2000开始使用一种叫做WFP(Windows File Protection,Windows文件保护)的机制。现在,Windows 2000和Windows XP都有这个功能。本文将为你详细讲解WFP如何使用以及如何设定。

  WFP是如何工作的

  WFP把某些文件认为是非常重要的系统档案,例如所有的dll文件,exe、fon、ocx、sys还有tff等后面的文件。
在Windows 2000/XP刚装好后,系统会自动制作制作制作备份这些文件到一个专门的叫做dllcache的资料夹,这个dllcache资料夹的位置预设储存在%SYSTEMROOT%\system32\dllcache。当你使用了Windows系统一段时间之后,会发现一些其它档案类型的文件,例如cpl、cpx、inf、rsp、tlb等文件也会当作重要系统档案保护起来,并且WFP会根据这些文件建立一个目录,显示了所有受保护文件的正确版本和档案类型。

一旦检测到文件被替代或者覆盖,就可以自动从制作制作制作备份的文件中恢复。

而如果制作制作制作备份的文件由于某些原因也不可用,那么Windows就会要求你插入系统光碟,以便从光碟上恢复。
你也许已经意识到了,dllcache这个资料夹会变得很大。在下文中我也会说明如何减小这个资料夹的体积。

 使用情况

  WFP的最基本的用途,就是保护系统档案不被更改。

  对于系统管理员,这项功能能够减轻他们的负担。
他们不用在由于某些用户的错误操作而忙碌。而对于一般用户,这功能更是可以当作救命稻草,从此不用再害怕由于安装错误的软体造成系统的不正常工作。

不过对于那些有经验的进阶用户,WFP也会成为一种负担,因为WFP会消耗一定的CPU和硬碟资源。

  怎样证明WFP工作正常

  在前面我们已经知道,WFP的主要功能就是为了防止重要的系统档案被错误移除或者取代,那么我们要验证WFP是否工作正常也就很简单了,只要我们人为地移除或者修改一些系统档案,然后看看WFP机制能否把被取代的文件恢复正常,就知道WFP是否正常工作了在执行中输入"%systemroot%\system32"并Enter键,开启System32资料夹,随便选一个受保护文件(以cmd.exe为例),然后给这个文件重新命名(这里假设改为cmd.exe.bak),确定后等待几秒钟,然后按F5 重新整理一下,你可以看到,除了改名后的cmd.exe.bak,这里又有了一个新的cmd.exe,这就是操作系统从制作制作制作备份的文件中恢复出来的。

  使用和自订WFP

  Windows文件保护可以用多种方式自订它的运作,最简单的办法就是组态群组原则(群组原则只有Windows 2000和Windows XP Professional有,Windows XP Home没有)。在执行中输入"gpedit.msc"然后Enter键,可以开启群组原则编辑器。

依次展开Computer Configuration-Administrative Templates,-System(电脑组态-管理范本-系统),然后选项Windows File Protection(Windows文件保护)资料夹。双按每一项就可以分别进行设定。


  Set Windows File Protection scanning(设定Windows文件保护扫瞄),这个原则可以让你决定是否在Windows启动的时候自动进行WFP扫瞄。

如果你启用了这个原则,将会延长系统的启动时间。
所以一般情况下最好不要启用它。

如果你要设定WFP的其它执行方式,还可以在指令行下使用sfc/scanonce,sfc/scanboot,sfc/revert。

其中sfc/scanonce会在下次启用电脑时扫瞄所有被保护系统档案一次,sfc/scanboot会在每次启动时都扫瞄一次,sfc/revert则会把扫瞄的设定启始化。


  Hide the file scan progress window(隐藏文件扫瞄进度视窗),启用这个设定后在进行WFP扫瞄的时候就不会显示扫瞄的进度视窗。

  Limit Windows File Protection cache size(限制Windows文件保护缓冲大小),预设情况下,WFP会储存大量的系统档案制作制作制作备份(这主要取决于你的硬碟的大小),这样做虽然使得恢复系统档案变得简单易行,但是却占用了太多的硬碟空间。如果你不进行任何设定,那么对于WFP的制作备份档案是没有大小限制的。

这是一件很糟糕的事情,所以我们要启用这个原则,然后输入指定的大小(MB为服务机构)。

如果你的硬碟不是很大,建议你设定100MB就可以,不过有时候扫瞄时会需要你插入光碟。

否则,最好设定200到300MB左右,这样,在恢覆文件的时候需要你插入光碟的次数会少很多。而这个操作也可以在指令行的模式下设定,具体的格式是:sfc/cachesize=x,这个X就是你要指定的缓冲大小。

  Specify Windows File Protection cache location(指定Windows文件保护缓冲位置),预设情况下,缓冲文件被储存在%SystemRoot%\system32\dllcache资料夹内,也许你的系统碟空间已经很紧张了,不过其它分区还很空,那么启用这个原则,并指定一个位置,缓冲文件就会全部储存在那里。

  如果你要手工检查系统档案,可以在执行中输入CMD,然后Enter键,开启指令行界面,然后输入sfc/scannowEnter键,这样系统就会开始检查所有受保护的文件,在这程序中你也许会被要求插入Windows的光碟。

而指令行下的SFC指令,除了上面我们列举的sfc/scannow,sfc/scanonce等之外,还有其它几个有用的参数:在Windows 2000中,使用sfc/cancel将会取消所有挂起的扫瞄;sfc/quiet 这将自动更换所有被改动过的受保护系统档案,而不会提醒用户。

sfc /purgecache 将会清空所有制作制作制作备份的受保护文件,而在Windows 2000中执行这个指令后还会自动进行一次扫瞄;sfc /revert,使用在Windows XP中,把所有的WFP有关的设定全部启始化,而Windows 2000中相应的指令是sfc /enable。

  禁用WFP

  作为一个后台执行的服务,WFP会消耗一定的资源,如果你的电脑组态不是很高,那么就完全可以禁用,以便提高电脑效能。

不过禁用后Windows的稳定性可能得不到保障,这个由你自己来决定。

  如果你要禁用WFP,需要修改注册表,同时,在注册表中也可以完成其他的一些设定。

  执行regedit开启注册表编辑器,展开注册表到HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon,这里有几个键是需要我们设定的:

  SFCDisable,值为0时开启了WFP,这也是预设的状态。双按后可以改成1,这将禁用WFP,并且需要重启动一下才能生效;值为2,仅仅会在下一次启动时禁用;值为4,将启用,并且不会显示提醒用户的视窗。

  SFCQuota,可以决定允许WFP使用的最大硬碟空间,直接输入大小就可以,服务机构为MB,预设为300MB。而设定为FFFFFFFF就可以制作制作制作备份本地机硬碟上所有的系统档案。

  在启用WFP的情况下取代系统档案

  为了保证系统的稳定性,你可能会开启WFP保护,但有时候你也许会需要正确取代某一个受保护的系统档案,这就比较麻烦了,因为按照一般方法进行操作后系统马上会用制作制作制作备份的文件进行恢复。


  下载这个指令码后整个解压缩到一个资料夹中,然后双按执行其中的replacer.cmd文件,接着你会看到图三的界面。假设我们要把%systemroot%\system32 资料夹下的cmd.exe文件取代为C碟根目录下的cmd.exe.bak文件,按照萤幕提示,从Windows档案总管中移到cmd.exe文件到 指令行视窗上,然后松开滑鼠,这时可以看见指令行视窗已经得到了目标文件的路径,按下Enter键,接着同样是从档案总管中移到原文件cmd.exe.bak到指令行视窗,然后松手,继续Enter键,这时看到的界面如同。

如果验证一切无误,就按下Y键,然后Enter键,稍等片刻文件的取代工作就能够完成,这时你需要重启动电脑,以便改动生效。



Win2000/XP下的SFC使用参数


Win2000/XP下的SFC使用参数
Win98下有一个非常好用的工具--系统档案检查器,使用它可以很快速的检查出你的系统有没有系统档案丢失掉或者被修改,并且自动提醒你还愿系统档案以保证系统的稳定性,减少重新安装系统的麻烦,现在这个程序已经移植到Win2000里面了,不过使用的方法和Win98不同了,必须加上一定的参数才能够执行,这一点适合Win98有所不同的,那么有哪些参数呢?
具体的参数有代表什么意义呢?现在让我来告诉你吧。

Win2000的SFC的启动方法很特别,要先进入虚拟DOS(执行cmd),然后才能输入sfc即参数,否则是不能够执行的。sfc的具体格式是:

SFC [/SCANNOW] [/SCANONCE] [/SCANBOOT] [/CANCEL] [/ENABLE] [/PURGECACHE] [/CACHE SIZE=x] [/QUIET]

各个参数的意思是:


其中以绿色标注的参数要小心使用

/SCANNOW 立即扫瞄所有受保护的系统档案

/SCANONCE 扫瞄所有受保护的系统档案一次

/SCANBOOT 每次启动时扫瞄所有受保护的系统档案

/CANCEL 取消所有暂停的受保护系统档案的扫瞄

/ENABLE 为正常操作启用 Windows 文件保护

/PURGECACHE 清除文件缓冲并立即扫瞄所有受保护的系统档案(只有在确定系统没有问题残能使用,因为一旦使用以后系统的缓冲会全部丢失掉,要恢复系统档案就比较麻烦了)
/CACHESIZE=x 服务机构:MB 设定文件缓冲大小(请根据硬碟空间大小安排)
/QUIET 不提示用户就取代所有不正确的文件版本(千万要慎重考虑是否使用这个参数,因为使用不正确的系统档案非常容易导致系统瘫痪)


献花 x0 回到顶端 [3 楼] From:台湾中华电信 | Posted:2005-03-26 09:34 |

首页  发表文章 发表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.017465 second(s),query:16 Gzip disabled
本站由 瀛睿律师事务所 担任常年法律顾问 | 免责声明 | 本网站已依台湾网站内容分级规定处理 | 连络我们 | 访客留言