Làm thế nào để thiết lập "firewall" về mặc định
How to reset windows firewall configuration to default
People asked me on how to reset windows firewall configuration to default, so here it is.
This guide was tested to work on windows xp but may also work on windows vista.
1. Open a command prompt window. (alternatively you can press window key + r then type cmd).
2. On the command prompt type “netsh firewall reset”.
C:\> netsh firewall reset
That’s all about it, you should have your firewall on default configuration.
Nguồn: http://seoroot.com/blog/windows-xp/how-to-reset-windows-firewall-configuration-to-default.html
Re: Làm thế nào để thiết lập "firewall" về mặc định
"Windows cannot display Windows Firewall settings" error while accessing Firewall settings in Windows XP
Symptoms
- Windows
Firewall/Internet Connection Sharing (ICS) service not listed in Services.msc
Console. - Windows Firewall/Internet Connection Sharing (ICS) service is listed in Services
Console, but you may not be able to start the service. - The following error occurs when accessing the firewall settings (firewall.cpl)
Due to an unidentified problem, Windows cannot display Windows Firewall
settings.
Cause
Case 1: This happens due to missing or corrupt SharedAccess registry key, which represents the Windows Firewall
Service. This usually occurs if your system is infested with Virus or other Malware, or in the aftermath of Virus removal. In
conjunction with the solution provided in the article, it's advisable to run a
thorough
cleanup of the system.
Case 2: You have Windows Live OneCare installed.
Windows Live OneCare has its own Firewall which monitors both inbound and
outbound connections. Because two firewalls should not be turned on at the same
time, Windows Live OneCare turns off Windows Firewall if the
latter is running. [More
info]. Therefore, Windows Live OneCare users can safely ignore the
error message concerning Windows Firewall.
Resolution
Solution for Case 1:
Download sharedaccess.reg (only for
Windows XP systems with Service Pack 2 or Service Pack 3
applied) and save to
Desktop. Then double-click the file to merge the contents to the registry. The Services entry will be created. Restart
Windows (mandatory step, otherwise the following NETSH command might display an error).
After restarting Windows, execute the following command via Start, Run dialog:
CMD /K NETSH FIREWALL RESET
Launch firewall applet from Control Panel, and see if you're able to configure
the Windows Firewall settings.
If the above steps do not help, as a last resort solution
(before attempting to reinstall the Service Pack), give the following commands a try:
Click Start, Run and type:
rundll32 setupapi,InstallHinfSection Ndi-Steelhead 132 %windir%\inf\netrass.inf
The above command repaired most of the Windows Firewall settings when I tested.
After running the above command, restart Windows and then run the following:
CMD /K NETSH FIREWALL RESET
Attempt to start Firewall applet. Start the Windows Firewall service
when prompted.
Nguồn: http://windowsxp.mvps.org/sharedaccess.htm
Re: Làm thế nào để thiết lập "firewall" về mặc định
Nguyên nhân trên là do máy tính của bạn bị nhiễm Malware hoặc là kết quả sau khi bạn dùng chương trình để diệt Virus xảy ra . Cách thức tiến hành sửa lỗi đó như sau :
1. Mở Notepad tạo một file ví dụ có tên là Firewall.reg với nội dung dưới đây :
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccess]
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccess]
"DependOnGroup"=hex(7):00,00
"DependOnService"=hex(7):4e,00,65,00,74,00,6d,00,61,00,6e,00,00,00,57,00,69,00,
6e,00,4d,00,67,00,6d,00,74,00,00,00,00,00
"Description"="Provides network address translation, addressing, name resolution and/or intrusion prevention services for a home or small office network."
"DisplayName"="Windows Firewall/Internet Connection Sharing (ICS)"
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,
6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
"ObjectName"="LocalSystem"
"Start"=dword:00000002
"Type"=dword:00000020
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessEpoch]
"Epoch"=dword:00002cd0
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessParameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,
69,00,70,00,6e,00,61,00,74,00,68,00,6c,00,70,00,2e,00,64,00,6c,00,6c,00,00,
00
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessParametersFirewallPolicy]
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessParametersFirewallPolicyDomainProfile]
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessParametersFirewallPolicyDomainProfile
AuthorizedApplications]
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessParametersFirewallPolicyDomainProfile
AuthorizedApplicationsList]
"%windir%\system32\sessmgr.exe"="%windir%\system32\
sessmgr.exe:*:enabled:@xpsp2res.dll,-22019"
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessParametersFirewallPolicyStandardProfile]
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessParametersFirewallPolicyStandardProfile
AuthorizedApplications]
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessParametersFirewallPolicyStandardProfile
AuthorizedApplicationsList]
"%windir%\system32\sessmgr.exe"="%windir%\system32\
sessmgr.exe:*:enabled:@xpsp2res.dll,-22019"
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessSetup]
"ServiceUpgrade"=dword:00000001
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessSetupInterfacesUnfirewalledAtUpdate]
"All"=dword:00000001
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
SharedAccessEnum]
"0"="Root\LEGACY_SHAREDACCESS\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
2. Bạn lưu file trên và chạy trực tiếp file đó
3. Khởi động lại máy tính
4. Bấm Start --> chọn Run --> gõ CMD --> bấm OK
5. Bạn gõ theo nội dung dưới đây :
NETSH FIREWALL RESET
6. Khởi động lại Windows Firewall
7. Nếu phương pháp trên không có kết quả thì bạn làm tiếp theo dưới đây
8. Bấm Start --> chọn Run --> bạn gõ theo nội dung sau
rundll32 setupapi,InstallHinfSection Ndi-Steelhead 132 %windir%inf
etrass.inf --> bấm OK
9. Khởi động lại Windows , làm lại theo bước 5 và 6
10 . Kết quả không được thì bạn phải cài lại Windows
Nguồn: http://vn.360plus.yahoo.com/ngoan-quy/article?mid=15&fid=-1
|
|