寻觅生命中的那一片浅草......

文章属于类别 MS

Windows 7开始菜单没有休眠的解决方案

最近发现即使我在命令提示符输入powercfg -h on,开始菜单和电源选项还是没有休眠的按钮,折腾了一段时间,终于解决了问题,方法如下:首先就是众所周知的powercfg -h on,然后重启(这个很重要)。最后依次点击控制面板->硬件和声音->电源选项->更改计划->高级电源设置->睡眠,将“允许混合睡眠”设为“关闭”。

转载自:http://www.xuwemjian.info/archives/999.html

域名解析检查工具

由于都是双线机房,所以域名解析要检查是否正确解析了电信IP,网通IP

同时还要检查IP是否可以ping通,为方便操作,写了个bat

代码如下:

@echo off
cls
color 1f
Title 检查域名解析
echo.
echo. 域名解析检查工具
echo. johncan
echo. 2010-07-27
echo.
echo.
echo ——————————————————————————-
echo.
set /p domain= 请输入要检查的域名:
echo.
for /f “delims=: tokens=1,2” %%i in (‘nslookup “%domain%”‘) do (
if /I “%%i”==”Address” (set “result=%%j”)
)
for /f “delims=: tokens=1,2” %%i in (‘nslookup “%domain%” 210.51.176.71’) do (
if /I “%%i”==”Address” (set “cnc_result=%%j”)
)

echo 域名: %domain%
echo 电信IP:%result%
echo 网通IP:%cnc_result%

echo.
echo.

echo ########## Ping %result% Result ##########
ping -n 10 %result%

echo.
echo.
echo ########## Ping %cnc_result% Result ##########
ping -n 10 %cnc_result%

echo.
echo.

echo 按任意键退出
pause >nul

net use使用

share.bat

net use y: /del
echo net use y: \\192.168.1.80\share_doc /user:share 123456

What is Firewall Builder?

Firewall Builder helps you write and manage configuration for your firewalls. It writes iptables commands, pf.conf file, Cisco router access lists or PIX configuration for you. You can then copy and paste configuration generated by Firewall Builder, copy the file manually or using your own scripts, or use built-in function to configure the firewall. Firewall Builder provides change control and search functions. It allows you to reuse the same address and service objects in rules of many firewalls. It simplifies coordinated changes of the rules in multi-vendor environments and helps avoid errors in generated configurations.

Firewall Builder comes with all versions of Debian Linux and Ubuntu (in “Universe”). It is also available in “extras” in Fedora Core Linux and in FreeBSD and OpenBSD ports. Packages for these OS are supported by corresponding maintainers. We build test packages for all these OS and distributions as well. Binary packages are available for Windows and Mac OS X

关闭360 V6.0的守护进程

如果你确定一定要禁止该服务,请打开安全卫士--实时保护--高级设置--保护360安全卫士--关闭自我保护后,还有核心保护也要关闭,然后进入进程服务管理(随便你怎么进!)禁止启用即可。

我觉得要是你真不喜欢多的这些进程,你最起码也要在控制面板里把该进程设置为手动,因为这几个进程真的很重要!

来自:霏凡论坛

2024年三月
« 5月    
 123
45678910
11121314151617
18192021222324
25262728293031