随笔分类 -  windows

制作紧急启动光盘的内容
摘要:dos utils: smartdrv, fdisk, format cdrom driverntfs4dos 1. network driver2. scsi driver win2k, sp4 & latest updateie6sp1 win2k3, sp2 & updates winxp, sp2 & updates norton8, latest virus define dotnet2... 阅读全文

posted @ 2007-03-28 20:23 margiex 阅读(259) 评论(0) 推荐(0)

cmd 使用说明
摘要:Command shell overviewhttp://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?mfr=truecmd 参数解释http://www.microsoft.com/resources/documentation/windows/... 阅读全文

posted @ 2007-03-24 23:35 margiex 阅读(625) 评论(0) 推荐(0)

solution to hibernate in windows server 2003 sp1 with more than 1G memory
摘要:在windows 2003 server sp1中,如果机器内存大于1G, 在休眠时经常会出现"资源不足,休眠功能在重启之前将被禁用,"的错误. 在网上找了半天,只有针对xp sp2 的补丁kb909095, http://support.microsoft.com/kb/909095, 而一直没有针对windows 2003 server的,奇怪MS为什么不出相应的补丁,把针对XP的方法都试过了... 阅读全文

posted @ 2006-12-21 10:13 margiex 阅读(566) 评论(0) 推荐(0)

xp pro sp2支持多个用户同时终端连接
摘要:必须有sp2补丁才行.下载这个文件: http://www.cnblogs.com/Files/margiex/termserv.zip步骤:1. 启动到安全模式, 拷贝zip中的termsrv.dll到%windir%\system32, %windir%\system32\dllcache, %windir%\ServicePackfiles\i3862. 合并Concurrent Sessi... 阅读全文

posted @ 2006-12-12 12:52 margiex 阅读(696) 评论(0) 推荐(0)

link file in windows and visual studio
摘要:Linking a file in Visual Studio .NET If in VS.NET you add to the current project an existing file that's located outside the current project's directory, the file is first copied in the project's dire... 阅读全文

posted @ 2006-11-30 00:46 margiex 阅读(320) 评论(0) 推荐(0)

msn中实现 "添加一个活动或游戏邀请"
摘要:现在网上流行的xiaoi机器人,如查天气或地图,都需要向你发出一个邀请才能使用其功能,一直不知道如何实现,前两天在网上找了一下资料,终于明白了点.刚开始以为需要实现MSN插件或自己编写一个MSN,原来不需如此,要实现类似功能应该比较简单,只是针对共享的活动必须完全由自己实现。这种功能应该叫MSNMessenger Activity,MS的站点上有一个MSNMessengerActivitySDK.... 阅读全文

posted @ 2006-11-26 11:27 margiex 阅读(845) 评论(3) 推荐(0)

remove the prompt when use vista to connect to other os older than vista.
摘要:Set the authentication level value to one of the following values: • 0 This value corresponds to "No authentication." • ... 阅读全文

posted @ 2006-11-11 11:08 margiex 阅读(244) 评论(0) 推荐(0)

xyntservice
摘要:http://www.thecodeproject.com/system/xyntservice.asphttp://www.codeproject.com/useritems/XYNTServiceWrapper.asp一个用户windows下自启动程序的服务进程,很不错.只是在windows 2003 +sp1下启动服务时报87错误, 因此需要修改源代码.将XYNTServiceMain中的.... 阅读全文

posted @ 2006-03-06 23:14 margiex 阅读(534) 评论(1) 推荐(0)

windows service 与GUI窗口的实现
摘要:以前做过几次windows service,但都是没有界面的,想配置参数都只能使用文本文件,然后重启服务才行,而且不能查看服务的运行状态。最近在网上找到一些文章,终于找到可以启动服务时有界面的方法。首先服务工程中本身不能有窗体,这是WINDOWS系统本身不支持的。因此必须要有两个工程才能实现,一是服务程序,另一个是GUI程序。当服务程序启动时通过代码启动GUI程序,从而实现自动启动GUI程序,并且... 阅读全文

posted @ 2006-03-01 11:07 margiex 阅读(10018) 评论(7) 推荐(0)

windows scripts tips
摘要:run program in other path and back to original path.@echo offrem get current pathset curpath=%cd% rem run the java classcd /D C:\windows\system32java Client %1=%2 rem return to current pathcd /... 阅读全文

posted @ 2005-11-14 20:28 margiex 阅读(336) 评论(0) 推荐(0)

w2k telnet port change
摘要:1. run tlntadmin.exe in console.2. change the telnet port to another value, not default 21.3. change NTLM to 1, the default is 2. if it's 2, u can't telnet the server on other computer.4. start tlntsv... 阅读全文

posted @ 2005-11-10 18:11 margiex 阅读(283) 评论(0) 推荐(0)