人生是一场不能存盘的RPG,我只能尽量多搞几个Screenshot

June 18, 2007

Enable multisession of vista remote desktop

Filed under: 使用技巧

Currently, Vista just support single session of remote desktop connection.
There is a patch broking this limitation.
vista_concurrent_rdp_sessions.rar

Instruction:
1.Copy termsrv.dll.patched32bit into %SystemRoot%\System32\
2.Run patch_termsrv_32bit.bat as Administrator.
3.Reboot.

June 11, 2007

Can not open CHM with chinese name or in folder with chinese folder

Filed under: 使用技巧

Solution:
In “Regional and Language options” dialog, Set “Standards and formats” to Chiese (PRC)

June 3, 2007

当词霸2006遭遇vista

Filed under: 使用技巧

安装ciba2006时,除了黑屏一次,还算正常.
运行ciba2006,vista弹出一个”Program Compatibility Assistant”对话框,我选择了”Check for solutions online”,呵呵,金山还真地给出了solution:
http://cp.iciba.com/vistainfo/ciba06.shtml

尊敬的用户您好:

   目前《金山词霸2006专业版》支持的操作系统是简体中文/繁体中文/英文/日文Windows98/ME/2000/XP,尚不支持Vista操作系统。因此在Vista操作系统上安装时可能会出现一些不可预见的错误,当有错误出现时,请尽快进行软件卸载。

  《金山词霸2007专业版》提供免费支持至Vista操作系统的升级服务,详细信息,请登陆www.iciba.com

  感谢您使用我们的产品!

                                北京金山软件有限公司

May 31, 2007

为什么一个COM组件被重复下载

Filed under: .NET, 使用技巧

不知何故,一个COM组件被重复下载,以下是针对这个问题的检查点:
1.Check <Windows Dir>\Downloaded Program Files

2.Check 注册表中My Computer\HKEY_CLASSES_ROOT\<Class Name>\CLSID

后发现,已下载的com组件的version与HTML中指定的版本不同,故反复下载.
<OBJECT id=<??????> onresize=\”window.oExportsDialog.fnSetSize ()\” codeBase=http://<myhost>/???.cab#Version=1,0,21,1975 data=data:application/x-oleobject;base64,+jIurin7Qky/+XrPoasKGxAHAAATIQAA3BEAAA== border=0
classid=CLSID:??????????????????????? name=????></OBJECT>

January 12, 2007

XP磁盘清理

Filed under: 使用技巧

1.sfc.exe /purgecache

2.Delete %windir%\$ntuninstallq311889$

3.Delete %windir%\driver cache\i386\driver.cab文件

4.清理C:\Documents and Settings\ 各个user目录下的 application data, My documents, Local Settings目录.
All users\Application Data\Microsoft Help 很大,但不能删
User\Local Settings\Temp 很值得一删.

5.%windir%\Installer也可以清理一下

December 19, 2006

Install Firefox2.0 in Fedora C6

Filed under: 使用技巧

I want to upgrage the FireFox 1.5 come with FC6 to FireFox 2.0.
But when I run the firefox-2.0-1.fc6.remi.i386.rpm, an error message popup:
“Missing Dependency: gecko-libs = 1.8.0.8 is needed by package yelp”

Where could I get gecko-libs? The answer is FireFox-2.0-1.fc6.remi.i386.rpm!
The rpm of FireFox 2.0 contains gecko-libs.

So I try to uninstall FireFox 1.5 before install FireFox 2.0.
rpm -e firefox
Another error occurred: “Failed dependencies……”
Then, I used
rpm -e –nodeps firefox, unstalling was successful!

After that, I run rpm -ivh FireFox-2.0-1.fc6.remi.i386.rpm, successful!

Linux Services

Filed under: 使用技巧

1.Start service:
service smb start

2.Stop service
service yum-updatesd stop

2.Restart service
service smb restart

3.List all service
service –status-all

4.Service auto start
ntsysv

5.Services:
yum-updatesd Auto update

6.GUI Setting:
System->Administration->Server Settings->Services

December 13, 2006

VMPlayer 中的Fedora不能调整分辨率

Filed under: 使用技巧

Soultion:
Modify /etc/X11/xorg.conf

# Xorg configuration created by pyxf86config
Section “ServerLayout”
Identifier “Default Layout”
Screen 0 “Screen0″ 0 0
InputDevice “Keyboard0″ “CoreKeyboard”
EndSection

Section “Monitor”
Identifier “Monitor0″
HorizSync 1.0 - 10000.0
VertRefresh 1.0 - 10000.0
EndSection

Section “InputDevice”
Identifier “Keyboard0″
Driver “kbd”
Option “XkbModel” “pc105″
Option “XkbLayout” “us”
EndSection

Section “Device”
Identifier “Videocard0″
Driver “vmware”
EndSection

Section “Screen”
Identifier “Screen0″
Device “Videocard0″
Monitor “Monitor0″
DefaultDepth 24
SubSection “Display”
Depth 24
Modes “1152x864″ “1024x768″ “800x600″
EndSubSection
EndSection

我的Host机器分辨率为1280x1024, 为了不让VMPlayer产生滚动条,1152x864是fedora的最大分辨率.

November 24, 2006

Windows Command

Filed under: 使用技巧

———————-Service 相关
–列举系统中运行的service
tasklist /svc xp
tlist -s win2k

–重启IIS
iisreset

–启动,停止service
net start Service
net stop Service

sc start “my service”
sc stop “my service”

–安装service
installutil XXX.XXX.exe Install .NET service
sc create myservice Install win32 service

–卸载service
Installutil /u myservice .NET service
sc delete myservice Win32 service

———————-控制台相关
–打开控制台,可以看到常用的.msc
mmc

–打开services 控制台
services.msc

–性能监测器
perfmon.msc

–共享文件夹管理器
fsmgmt.msc

–把网络共享映射到一个盘符
net use x: \\<ip>\c$

–把目录映射到一个盘符
subst z: c:\Temp
subst z: /D 去掉映射

–Event 查看
eventvwr

–内存使用情况查看
mem

November 18, 2006

通过脚本修改xp的cd key

Filed under: 使用技巧

http://www.larkmoon.com/read.php/45.htm

ON ERROR RESUME NEXT

Dim VOL_PROD_KEY
if Wscript.arguments.count<1 then
   VOL_PROD_KEY=InputBox("Message1"&vbCr&vbCr&"Message2","The Title","UserInput, key")
   if VOL_PROD_KEY="" then
     Wscript.quit
   end if
else
   VOL_PROD_KEY = Wscript.arguments.Item(0)   ‘Get usr input from command line
end if

VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") ‘Remove hyphens if any

‘WMI
for each Obj in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_WindowsProductActivation")

   result = Obj.SetProductKey (VOL_PROD_KEY)   ’Update key

   if err = 0 then
      Wscript.echo "OK!"
   end if

   if err 0 then
      Wscript.echo "Failed"
      Err.Clear
   end if
Next
 

November 9, 2006

Administrator can’t open IIS Manager

Filed under: 使用技巧

I had been added to the administrator group on a remote server, but when I try to manage the IIS service on it, the access was denied.
Other people tell me to modify my User Profile on the server:
My computer’s context menu->Propery->Advanced->User Profiles
Find my name, change Profile Type from Roaming to Local.

He is correct.

October 24, 2006

IE的安全模式

Filed under: 使用技巧

在Accessories(附件)->SystemTools中有一个shortcut, “C:\Program Files\Internet Explorer\iexplore.exe” -extoff
可无插件运行IE.

May 30, 2006

XP自动安装

Filed under: 使用技巧

1.在安装盘 SUPPORT 目录的 Tools 子目录中,找到一个名为 Deploy 的 CAB 压缩文件,将该文件解压即可看到 setupmgr.exe 程序
  运行之,可生成自动安装应答文件unattend.txt.
   
2.以从光盘安装为例:

   (1)在纯 DOS 下用 format A:/s 命令格式化一张软盘。

  (2)把unattend.txt 拷进软盘里

  (3)在软盘里创建文件 Autoexec.bat,并编辑命令行:
        set AnswerFile=unattend.txt
        set SetupFiles=CDDriver:\I386
        %SetupFiles%\winnt32 /s:%SetupFiles% /u:%AnswerFile% /t:C:
     (4)把软盘和光盘一同放进机器里, 启动顺序设置软盘,光盘引导。

注: 核心就是传给winnt32的两个参数: /s /u

May 24, 2006

遭遇yahoo助手

Filed under: 使用技巧

前天安装了一个共享软件"成语词典",一不小心安上了大名鼎鼎的yahoo助手,我的诺顿马上表示抗议,说有病毒Torjan.StartPage,然后重启,同时我还在

C:\WINDOWS\system32\IME看到了堆的垃圾:weather report, 网络猪一堆dll,我马上意识到,真的遇到流氓了,搜索一下,看到有不少人也在问"如何卸载雅虎助手",答案大多是推荐一些卸载工具.但我对如何才能这样流氓和如何比流氓更流氓更感兴趣一点,也有些文章文章给了我这方面的知识,如Windows系统中删除顽固文件的十二招技巧, 全面剖析雅虎助手以及网络实名的流氓行径,最终,我还是选择了Format.教训啊…

May 21, 2006

多启动xp安装盘制作

Filed under: 使用技巧

需要的工具:easyboot, 在网上找的一个带Ghost的启动系统:ghost.img
1. 把xp的安装盘copy到e:\Disk 下
2. 把sp2 copy到e盘,并解压缩到e:\sp2\,在命令行下运行e:\SP2\UPDATE\UPDATE.EXE /integrate:e:\Disk, 这样就把sp2 merge到了xp的安装文件中。
3. 在e:\Disk 下建一个名为ezboot的目录,把eazyboot要用的文件copy进去:
     w2ksect.bin: 用来装xp
     ghost.img:带ghost的引导系统
4.  用easyboot来制作一个多引导光盘,
     我做的有4个选项:
     1 Install xp vs sp2 ,命令为run w2ksect.bin
     2 Run Ghost  ,命令为run ghost.img
     3 Boot from HD ,命令为boot 80
     4 ReBoot ,命令为reboot
   
    把结果存到e:\Disk \ezboot\
     最终e:\Disk \ezboot\会有4个文件:
     ghost.img(在网上下的一个ghost系统)
     w2ksect.bin(ezboot带的装xp的程序)
     loader.bin(ezboot 生成,用于启动)
     myboot.EZB(ezboot 生成,用于记录菜单的设置)

5. 做ISO,指定文件位置为e:\Disk
   引导信息为e:\Disk \ezboot\loader.bin






















Get free blog up and running in minutes with Blogsome
Theme designed by Hadley Wickham