博客统计信息

用户名:黑锅
文章数:24
评论数:7
访问量:11228
无忧币:20
博客积分:208
博客等级:2
注册日期:2009-09-02

我最近发表的评论

Mcafee epo4.0安.. 回复
策略篇呢?
解决http://www.c.. 回复
承蒙夸奖,谢谢参观。
linux加入windows.. 回复
linux加入windows域之完美方案 - 域..
Common Diagnosti.. 回复
都是本人以前写的一些关于WindowsXP..
易语言编写linux程序 回复
哇靠。。这个牛啊。。。没想到几年..

我的技术圈(0)

更多>>
2010-12-29 10:34:00
备份还原网络配置



对于经常使用笔记本电脑在两地上网的朋友,切换网络配置就成了家常便饭,总是该来该去实在麻烦,用bat文件可以使一切都变得简单。



首先选择“开始→运行”,输入:cmd,回车后进入命令行界面,然后输入:netsh -c interface dump>d:\home.txt,回车后,系统将会把你当前的网络配置备份到d盘的home.txt文档中。



然后开始编写bat文件,只有简单的一行:netsh -f d:\home.txt,保存为bat文件,以后双击该文件就会应用home.txt中的网络配置。如果你觉得两个文件烦,也可以将两个文件..
奶奶的。今天开机后发现系统桌面图标变了位置,也没怎么在意,接着打开IE浏览器,突然发现首页被修改成http://www.cnweb123.cn/?q,打开IE选项一看,竟然被锁了。奶奶的,竟然还敢惹到本大爷头上了,调出金山的KAVIEReg直接进行修复,解锁并修改首页,然后就关掉IE没理了。没想到再次打开IE,日的cnweb123又弹出来了,那个汗啊。。。
仔细看看ie右键属性,发现也被人修改成""C:\Program Files\Internet Explorer\iexplore.exe" http://www.cnweb123.cn/?19",怪不得一打开ie就被劫持了,删掉桌面的ie图标,然后打开注册表,进入HKEY_C..
类别:Windows|阅读(632)|回复(1)|(0)阅读全文>>
笔记本NC2400附带了Intel 3945ABG无线网卡,以前装了Ubuntu9.04,直接可以使用无线,现在改换了CentOS作为桌面发现竟然无法无线了。。。郁闷啊。。。 几番search后,终于解决了。   首先,需要先更新RPMforge,如果RPMforget以前装好的,可以直接忽略跳到下面 yum install yum-priorities 确认yum-priorities被启用, 配置文件在/etc/yum/pluginconf.d/priorities.conf enabled =1 接着修改/etc/yum.repos.d/下面的所有.repo文件,添加一行 prioritiy=N 官方推荐[base], [addons], [updates], [extras] ... priority=1
[cen..
类别:Linux|阅读(377)|回复(0)|(0)阅读全文>>
Rainbird2大侠出品了一篇“Linux加入windows域之完美方案”,虽然网上流传了很多加入liunx到windows的文章,比如, “梦想开始的地方”的“使用Samba将linux主机加入AD域”,该帖子即详细介绍了加入的方法和具体步骤,见原文: http://www.cnblogs.com/lizl/articles/852846.html#891920, 但基于CentOS的图形化界面,Raidbird2的方法相对简单,容易,但其实在安装CentOS5.3的时候,要求创建新账号的右下,已经存在一个“使用网络账号登录”的按钮,点击它即可进行纯GUI
界面的操作,比Raidbird2文中所描述的更为漂亮。但毋庸置疑,Ra..
类别:Linux|阅读(497)|回复(3)|(0)阅读全文>>
2009-09-02 22:07:02
在XP中用命令行拨号和断开    在已经建立了PPPoE连接的情况下,用rasdial cnc username password的命令可以拨号,其中cnc是建立的拨号连接的名称。如果要断开呢,则用rasdial cnc /disconnect 。
rasdial cnc username password
拨号命令 ADSL名称 用户名 密码
    此法在需要多次拨号断开以刷新取得的IP时很方便。可以写一个批处理命令来执行。那么如何加入批处理的延迟时间呢?网上有一个sleep.exe的程序非常小,以毫秒数作为参数。
    注意,对于河南网通,由于对用户名进行了..
类别:Windows|阅读(120)|回复(0)|(0)阅读全文>>
 
ADSL内网/路由模式用BS下载断线之谜与解决方案!!!

我是用ADSL MODEM路由接NetGear网件的无线路由网上网的,配置为华硕AAM6000EV系列Model自动拨号,再由无线路由广播无线接入信息,台式电脑由NetGear的1+4Lan口接入,并设置了NAT端口映射,由第一次用BS下载时就一直被断线的原因困扰,(特别开了NAT的端口映射),当时PING MODEM的IP断断续续,网页基本打不开,不过比较奇怪,笔记本无线方式反倒可以打开网页,而用网际快车倒没有问题,当时我想的就是MODEM的内置路由有问题,于是我寻遍了网络,终于在一个论坛上找到了彻底..
类别:Windows|阅读(205)|回复(0)|(0)阅读全文>>
2009-09-02 21:50:25
Join Domain Tool
Here is a utility to help users joining a computer to an Active Directory domain. It provides similiar functionality to the netdom.exe utility in that it was designed to allow you to specify an OU (organizational unit) when you're joining the domain.
In our enviroment we have a well structured list of organizational units. The workstation objects should all be placed in the OU where the user object resides. However as the default join places the computers in the "Computers"..

How to Join a Windows Media Center PC to a Domain


How to Join a WMC to a Domain 

If you have tried joining a Windows MCE PC to a domain you quickly found out you couldn't do it unless you did it during the actual OS load process. There has been a pretty lengthy "hack" for fixing this called the 'Banana Hack' which does work but as I said it's pretty lengthy. Here is a quicker 10 step process that has worked for me just fine.

Boot into Windows using a WinPE CD/DVD
Sta..

5月14日
How to reinstall MS DTC on windows server 2003 R2

How to reinstall MS DTC on windows server 2003 R2
 

Event Type: Error
Event Source: MSDTC
Event Category: SVC
Event ID: 4112
Date:  2006-6-5
Time:  1:46:03
User:  N/A
Computer: WIN2003R2
Description:
Could not start the MS DTC Transaction Manager.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Event Type: Error
Event Source: Service Control Manager
Even..

Get MailStore Size Exchange 2007

Get MailStore Size Exchange 2007
 
param([string[]] $servers)
$expectedType = “Microsoft.Exchange.Data.Directory.Management.MailboxServer”
$serverList = @()
$pipedInput = $false
foreach ($inputServer in $input) {
    $pipedInput = $true
    if ($inputServer.getType().fullname -eq $expectedType) {
        $serverList += $inputServer.name
    } else {
 ..
 <<   1   2   3   >>   页数 ( 1/3 )