crossz

Archive for the ‘Windows’ Category

dual boot configuration within XP

In Windows, linux, mac on April 13, 2009 at 8:30 pm

When Linux or Mac os86 installed on the disk, where Windows has been installed before, some time it’s not set dual boot by defalt. This is the fix, only using the funtion coming along with xp.

Fix:
====================
in Dos, type:
diskpart
list disk
select disk 0
list part
select part 3 // could be different depending on your partitions
active
exit
======================

turn off Vista index search

In Windows, howto on February 19, 2008 at 5:30 pm

Windows Vista has greatly enhanced its search algorithm where the search process is now not only faster, but users can also easily search for almost all kind of files, documents, pictures, videos, emails and contacts in Outlook 2007, and even commands or application programs’ executables. To achieve the fast searching speed, indexing service plays a pivotal role. Windows Vista starts to crawl and index files on hard disks right after installed with a low priority background process. If you notice that your hard drive activity LED light is constantly flashing even if computer is idle, this is probably due to indexer at work.

This is supposedly the case – indexing at system idle period in order to minimize the performance penalty affected on normal usage. However, this may not be the case in Vista, as the search indexing related processes such as SearchProtocolHost, SearchFilterHost and SearchIndexer actively running even though computer is processing other more critical tasks or running important applications, effectively slow down overall computer performance by sucking up important CPU, memory and other system resources.

So to speed up Vista, users may want to turn off and disable the search indexer and indexing service. You can and should also disable the indexing of files if you’re using other desktop search utility such as Google Desktop Search and etc. If you don’t mind the slower searching speed when performing searches, the indexing has no meaningful use to you too. There are several ways to do this, as listed at the guide below.

  • Disable Windows Search Service

This method effectively stop and disable all search indexing processes, and is the recommended way.

Windows Search Properties

1. Click on Start button, then select Control Panel -> System and Maintenance -> Administrative Tools, and double click on Services applet. Alternatively, simply type “Services” (without quotes) in Start Search box.
2. If User Account Control asks for permission, click Continue.
3. Locate an service named Windows Search. Right click on WindowsSearch, and then select Properties on contextual menu.
4. Click on Stop button to stop the indexing service immediately.
5. On the Startup Type dropdown box, select Disabled.
6. Click on OK button.

To re-enable the Windows Seearch, simply change back the Startup Type.

  • Disable Indexing on Drives

This method allows users to selectively disable indexing on certain drives which rarely used or searched. However, it may take a long time to apply new attributes to all files, folders and sub-folders to exclude them from indexing.

1. Open Windows Explorer from Accessories.
2. Right click on the drive (or drive letter) that you want to turn off the indexing.
3. Select Properties on the contextual menu.
4. Unselect (untick) the Index this drive for faster searching option.

Stop Indexing on Drives
5. Click Apply or OK button.

To re-include the drive, simply select the option again.

Indexing Options Remove or Exclude Indexed Locations in Control Panel

This method does not turn off indexing service. Instead, it just excludes deselected folders from search index, or deselect folders from included list. The indexer processes may still run after you remove or exclude everything.

1. Click on Start button.
2. Click on Control Panel.
3. Click on System and Maintenance.
4. Click on Indexing Options.
5. To remove an Included Location, simply click on Modify button, and then untick the checkbox for respective folders under the “Change selected locations” box. To remove indexing on Start Menu and/or Users folder, click on “Advanced” button at Indexing Options dialog or “Show all locations” in Indexed Locations dialog. UAC access request continue required. Click on Start Menu and Users once at “Summary of selected locations” box if you do not see the checkbox for them.

  • Indexed Locations

To re-enable, simply tick back the folders.

Wine Review: DirectX 9.0c on Linux with Wine

In Windows, howto, linux on November 22, 2007 at 12:03 pm

Microsoft DirectX is a collection of application programming interfaces for handling tasks related to multimedia, especially game programming and video, on Microsoft platforms. Originally, the names of these APIs all began with Direct, such as Direct3D, DirectDraw, DirectMusic, DirectPlay, DirectSound, and so forth. DirectX, then, was the generic term for all of these Direct-something APIs, and that term became the name of the collection. Over the intervening years, some of these APIs have been deprecated and replaced, so that this naming convention is no longer absolute. In fact, the X has caught on to the point that it has replaced Direct as the common part in the names of new DirectX technologies, including XAct, XInput, and so forth.

Direct3D (the 3D graphics API within DirectX) is widely used in the development of computer games for Microsoft Windows, Microsoft Xbox, and Microsoft Xbox 360. Direct3D is also used by other software applications for visualization and graphics tasks, most notably among the engineering sector for CAD/CAM, because of its ability to quickly render high-quality 3D graphics using DirectX-compatible graphics hardware. As Direct3D is the most widely recognized API in DirectX, it is not uncommon to see the name DirectX used in place of Direct3D.

Wine configuration

This is with a clean configuration directory and running in a 1024×768 virtual desktop.

$ winecfg

Once the .wine directory is built the configuration tool will start and you can set a virtual desktop in the graphics tab if you wish. This is a good time to also set your Audio driver in the Audio tab.

next up is to install a native mscoree.dll and streamci.dll into /system32 from a windows install and set then to native Windows.

Go to ~/.wine/drive_c/windows/system32 and rename d3d8, d3d9, ddraw, dsound, dsound.vxd, quartz dlls to *.bak

You will need to set a large number of dlls to native for the install to work properly. Here is the full list of dlls that need to be set.

“d3d8″=”native”
“d3d9″=”native”
“d3dim”=”native”
“d3drm”=”native”
“d3dx8″=”native”
“d3dxof”=”native”
“dciman32″=”native”
“ddrawex”=”native”
“devenum”=”native”
“dinput”=”native”
“dinput8″=”native”
“dmband”=”native”
“dmcompos”=”native”
“dmime”=”native”
“dmloader”=”native”
“dmscript”=”native”
“dmstyle”=”native”
“dmsynth”=”native”
“dmusic”=”native”
“dplay”=”native”
“dplayx”=”native”
“dpnaddr”=”native”
“dpnet”=”native”
“dpnhpast”=”native”
“dswave”=”native”
“dxdiagn”=”native”
“mscoree”=”native”
“quartz”=”native”
“streamci”=”native”

Installing Directx

Download DirectX 9.0c November release from here.

The directx_nov2007_redist.exe executable will extract the installer files to a directory of your choice.

tom@tuxonfire ~ $ wine directx_nov2007_redist.exe
fixme:advapi:DecryptFileA "z:\\home\\tom\\directx-9\\" 00000000
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
tom@tuxonfire ~ $

Now cd to the directory where you choose to extract the DirectX installer and run DXSETUP.EXE.

tom@tuxonfire ~ $ cd /home/tom/directx-9
tom@tuxonfire ~/directx-9 $ wine DXSETUP.EXE
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.

Run winecfg again and set d3d8, d3d9, ddrawex, dinut, dinput8 to builtin wine.

Now lets run dxdiag.exe

tom@tuxonfire ~/directx-9 $ cd /home/tom/.wine/drive_c/windows/system32
tom@tuxonfire ~/.wine/drive_c/windows/system32 $ wine dxdiag.exe
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub!

We can now test ddraw, ddraw 3D, D3D8, and D3D9

Direct Sound test:

Now we need to install gm.dls to test Direct Music, this driver file goes into ~/.wine/drive_c/windows/system32/drivers

Direct Play test:

You will notice in system32 d3dx9_24.dll up to d3dx9_36.dll is now installed, this really helps when you run into a game that needs these additional DirectX dlls.

Now you have the option to run most DirectX dlls in native or builtin mode, for example if you have a game that’s crashing on the builtin Wine quartz.dll you can test the game with the native Windows dll to see if this will improve the situation.

Keep in mind d3d8, d3d9, ddraw will only work as builtin, and in most cases you should try to use builtin dsound and dinput. I have had limited success with (dsound and dinput) in native Windows mode btw… The reason why these dlls have to be used in builtin mode is there need for direct access to your hardware. direct music and direct play can be used in native windows mode in most circumstances.

Feel free to comment about this post at the wine-forum.

Blogged with Flock

Windows Network Trafic Management (to be contiuned and commented)

In Windows, howto on November 19, 2007 at 11:18 pm

In windows to show the network trafic:
netsh interface ipv4 show subinterfaces

Blogged with Flock

用移动硬盘代替DVD光盘安装Vista

In Windows, howto on November 18, 2007 at 5:21 pm

没有DVD刻录机的朋友,又想安装单系统的Vista,就可以将安装文件放在移动硬盘上,,从移动硬盘启动计算机来安装Vista了!这样安装的效果和从光盘引导安装是一样的。

  1.在XP下将一个空间足够的移动硬盘分区激活(在计算机治理的”磁盘治理”中,右键单击需要的分区,选择”将磁盘分区标为活动的”);

  2.用DaemonToolsT将光盘中所有文件复制到移动硬盘;

  3.在XP的命令提示符状态下运行 X:\boot\bootsect /nt60 x: (X即移动硬盘分区盘符)这一步是让移动硬盘成为可引导分区

  4.重启电脑,在CMOS设置里将第一引导设置为USB引导;

  5.用移动硬盘顺利引导,开始安装Vista。这个过程与光盘安装是一样的,可以格式化您的C盘,安装为单系统。

Blogged with Flock

vista virtual directory

In Windows, howto on November 7, 2007 at 11:36 am

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

From here you can modify where the favorite directories are located.

Blogged with Flock

vista 硬盘安装

In Windows, howto on June 9, 2007 at 1:38 pm

事先准备:装好xp系统的电脑一台,vista安装iso。

  注:

  (1)Windows Vista要求安装在NTFS分区,但是其他分区可以是FAT32格式!

  (2)简单无损NTFS转换方式:运行cmd进入命令行模式,运行convert x: /fs:ntfs即可(x为需要转换分区盘符),其间可能需要重启计算机。注:该命令可以无损将FAT分区转换为NTFS分区,该过程不可逆!若对分区中 没有有用数据,直接在XP下格式化为NTFS分区也能达到目的!

  (3)建议安装系统分区至少15GB。(我安完VISTA以后,系统区占用6GB。)

  想不损失硬盘中已有数据的前提下对硬盘进行重新分区,用PartitionMagic Portable V8.05 汉化绿色版。

一、Windows Vista系统安装准备

1、把vista.iso用虚拟光驱加载,然后拷贝到硬盘中,我的是f:\vista。(用的虚拟光驱是 DAEMON Tools V4.0.8 X64 and X86 [1120]简体中文版)

2、把f:\VISTA目录下的bootmgr和boot目录(其实只要里面的boot.sdi和bcd文件)拷贝到c盘根目录下,并在C盘根目录下建个sources文件夹。

3、把f:\vista\sources下的boot.win复制到C盘下sourse文件夹。

4、运行cmd-c:\boot\bootsect.exe /nt60 c: (注意,此处bootsect在c:\boot目录下)

二、Windows Vista安装

5、重启计算机,正在启动安装程序,加载boot.wim,启动PE环境。这个过程可能比较长,请等待……

6、安装程序启动,选择你要安装的语言类型,同时选择适合自己的时间和货币显示种类及键盘和输入方式。

7、出现“开始安装界面”,(要注意了,不点击“现在安装”)点左下角“修复计算机”(repair my computer)。

8、进入“系统恢复选项”,选择最后一项“命令提示符”(command prompt),进入DOS窗口。

9、执行格式化命令format c:/q(注:如C盘是FAT32格式,想转NTFS格式的话,执行format c:/fs:ntfs)。

10、安装系统,执行f:\vista\sources\setup.exe,底下就是正常的安装了。

Vista Services Registry Files

In Windows, howto on June 9, 2007 at 10:18 am

Have you messed up your services and want to get back to factory spec? Or do you want a way to play around with various configurations and be able to undo them if it doesn’t work out? Well, look no further! Here are the default configuration Service configuration files for all versions of Vista, as well as files for the other configurations I display.

Try out the new Registry File Generator. Just select the services you want to set, and it will generate a .reg file for you (save it as a .reg when it generates).

Default Settings

Windows Vista Home Basic reg bat
Windows Vista Home Premium reg bat
Windows Vista Business reg bat
Windows Vista Ultimate reg bat

Tweaked Settings

These are currently in the works, and are use at your own risk
Windows Vista ‘Safe’ Settings reg bat – Use at your own risk. I’ve tried to weed out services that are obviously unnecessary to give you a good starting point to tweaking for your own needs/preference. Please e-mail me any problems, etc.

Windows Vista Tweaked Settings reg bat- Use at your own risk. Works for me for internet, Windows Update, DVD playing, most other things I want to do. May cause some software, etc. to stop working, but I would like to hope not. Please send me feedback on this file as well as safe if you have any issues running them. It assumes that you have your own Firewall software and Spyware software.

Windows Vista Minimal Settings reg bat – Use at your own risk. Works for me for internet, Windows Update, DVD playing, most other things I want to do. May cause some software, etc. to stop working, but I would like to hope not. Please send me feedback on this file as well as safe if you have any issues running them. It assumes that you have your own Firewall software and Spyware software.

Disclaimer: Use this site at your own risk. I am not responsible for damage to your computer, or anything else.

Note: When you run the Registry file, you may get a note saying “Some keys are open by the system or other processes.” Some processes are not settable by running Registry scripts, even in safe mode. It is a bit of a pain, but all other services are set properly.

Thanks to kickarse and estcstsurfer for batch file suggestions.

vista安装

In Windows, howto on June 2, 2007 at 9:36 pm

==System Restore
==Error Report(in service)-including Startup Recovery Debugging
==关闭一些service/Msconfig(重启后要确认)
==关闭休眠:powercfg -h off/on
==转移My Documents,Desktop
==删除public/help/IME/installer下一些没用的东西
××××××××××××××××××××××
推荐http://www.speedyvista.com的注册表文件

Change the Frequency of Your Automatic System Restore Point | ITsVISTA

In Windows, howto on June 2, 2007 at 9:30 pm

In a previous tip I showed you how to restore a file, which relies on System Restore. Vista automatically creates a restore point once a day, and also when updates and some software and drivers are installed. If you want to change the once a day to be more or less frequent, it is possible, but will require modifying your registry. I must always mention that incorrectly modifying your registry can cause problems, and could even prevent your machine from functioning all together, so BE CAREFUL!

  1. Open the Start menu and type regedit in the search box.
  2. Choose Regedit from the program list that is found. You’ll need to approve UAC if it is enabled.
  3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore
  4. Doube-click RPGlobalInterval in the right pane.
  5. Change the Base from Hexidecimal to Decimal. This will make entering a value much easier (unless you know hexidecimal, then have at!)
  6. The default value is 86400, which is the number of seconds in 24 hours. Change this value to the number of second you would like between automatic restore points. I’ll change mine to 12 hours (43200).
  7. Click OK, close Regedit, you’re done!

ReadyBoost in Vista

In Windows on June 2, 2007 at 9:27 pm

The other method, and probably more informative but at the same time more confusing, is to look at the performance counters for the ReadyBoost feature. The performance counters can actually tell how often ReadyBoost is being used during the time you are monitoring them. Therefore this can be a useful feature in determining whether or not ReadyBoost is actually being used by Vista.

To access the performance counters you should follow these steps.

  1. Click on the Start button.

  2. Click on Control Panel menu option. When in the Control Panel , change to classic view by clicking on the Classic View option.
  3. Double-click on the Administrative Tools icon.
  4. Double-click on Reliability and Performance Monitor icon.
  5. In the left menu click on the Performance Monitor under the Monitoring Tools category
  6. In the right pane, click on the green + sign () to add new counters.
  7. Under available counters, scroll down till you see ReadyBoost Cache and double-click on it to expand this category.
  8. Select the ReadyBoost Cache counter that you would like to add by left-clicking on it and then clicking on the Add button. A list of the counters with some information as to what they mean is shown in a table below.
  9. Once you have added all the ReadyBoost Cache counters that you would like to monitor, press the OK button.

The various counters that you selected will now be seen in the Performance Monitor. As time goes on you will see the activity occurring in real time for each of these counters.

Available ReadyBoost Performance Counters
ReadyBoost Counter Name
Description
Bytes cached The total amount of uncompressed data currently stored in the cache. If there is data being stored then you know ReadyBoost is being used by Vista.
Cache reads/sec The number of times Vista reads from the cache per second. If you see a lot of cache reads per second then you know Vista ReadyBoost is working. If this occurs often when using your computer it is advised you invest in more physical memory to further increase performance.
Compression ratio The actual size of the data in the cache divided by the uncompressed size of the data in the cache. (actual size of the data in the cache) / (uncompressed size of the data in the cache)
Hit read bytes/sec The number of bytes read from the cache per second. This is a further indication that the ReadyBoost cache is being used by Vista. If a lot of bytes are being read per second you also know that you need more physical memory to truly increase your performance.
Invalidated update buffer blocks/sec The number of blocks in update buffers invalidated per second.
Invalidated update buffer bytes/sec The number of bytes invalidated in update buffers per second.
No-regions reschedules/sec Writes rescheduled due to the lack of regions per second.
No-update-buffers reschedules/sec Writes rescheduled due to the lack of update buffers per second.
Read-Size-Max IOs bailed/sec The number of I/Os not serviced by the cache because the size is bigger than the maximum read size per second.
Sequential IOs bailed/sec The number of I/Os not serviced by the cache due to sequentiality per second.
Total read bytes/sec The number of bytes read from the volume per second.
Total write bytes/sec The number of bytes written to the volume per second.
Updated buffer read bytes/sec The number of read bytes services from the update buffers per second.

For the most part you really only need to monitor the Bytes cached, Cache reads/sec, Hit read bytes/sec, Total read bytes/sec, and Total write bytes/sec counters to get a good indication of the amount of ReadyBoost activity occurring on your computer.

Conclusion

ReadyBoost is a powerful feature that allows you to increase performance on your computer in a cheap and easy manner. Though you will not get the same performance increase that you will receive if you actually installed more physical RAM, this method does provide a quick and cheap manner to boost performance. We also know that if you monitor the ReadyBoost activity in the Vista Performance Monitor we can determine if we truly need to install more physical RAM in order to get the best performance benefit.

As always, if you want to learn more about, or discuss with your peers, this guide and other Vista features, then feel free to ask in our Windows Vista forums.

SuperFetch
既然你知道了Windows XP的Prefetch技术是如何工作的,你就了解了Windows Vista的SuperFetch技术工作原理的70%。作为Windows XP的Prefetch的下一版本,SuperFetch包括了Prefetch的所有功能并做的更多。

首先,SuperFetch克服了Windows XP的Prefetch中的一个大缺点。正如我前面解释的,Prefetch通过导入大部分由内存中一个应用程序或进程需要的文件或数据,所以可以在需要 时更迅速地访问它们。然而,由于这些文件和数据存在于内存中,所以它们受控制虚拟内存的规则支配。换句话说,当其他应用程序需要访问内存,任何预取的数据 会被移出到硬盘上的页面文件中。当再次需要它时,必须将它从页面文件中移回到内存,这当然抵消了性能增强。

SuperFetch更进一步地保证你获得对性能增强的最有效使用。除了构造我前面提到的映射文件之外,SuperFetch还会构造你使用的应用程序的 描述文件,它包括你在何时使用和使用的频率等信息。然后,SuperFetch将跟踪描述文件中的应用程序并且记录任何预取数据在何时被移出到页面文件 中。SuperFetch将监视引起预取数据被移出到页面文件的应用程序描述文件,并且应用程序一完成,它就将预取数据取回到内存中。所以当你转到访问应 用程序,预取数据将在内存中再次可用而且应用程序会快速响应。

扩展存储设备
正如我提到的,Windows操作系统会一直利用虚拟内存,无论在系统中安装了多少物理RAM。我还告诉过你SuperFetch中的一种增强方式是尽可 能快地重新将预取数据从虚拟内存页面文件移回到物理内存中以保证性能增强的连续性。然而,由于页面文件存在于比物理内存响应速度慢的硬盘上,所以 SuperFetch会被让硬盘响应其取回操作所花费的时间所阻碍。

为了改进SuperFetch的取回操作,微软决定利用大容量USB 2.0存储棒/闪存驱动器被广泛应用,相对便宜,非常有效-虽然不像物理内存那样有效,但比硬盘要快得多这一事实。当你向Windows Vista系统插入一个USB 2.0存储棒,SuperFetch能够将任何送到虚拟内存的预取数据重定向到USB驱动器,而不是硬盘上。同样的,当需要将数据取回到内存时,取回操作 将更快。
当你将一个USB 2.0存储棒插入到运行Windows Vista的系统中,你将看到类似于图形A中显示的自动运行对话框。

然后将提示你指定你想分配给SuperFetch的存储空间容量如图所示。正如你看到的,Windows Vista将自动留出建议的空间容量,但是你可以使用滑动条增加空间容量。

vista 内存减肥 — services

In Windows, howto on June 2, 2007 at 8:48 am
1. Turn Windows Features on or off:只保留Games,Microsoft.net,Remote Differential Compression
2. 控制面板–系统属性–高级–启动故障恢复–写入调试信息选择无;系统失败里面的勾全部取消.
3. 优化服务.关闭不常用的服务.运行–services.msc
详见http://itsvista.com
或者推荐参考http://www.speedyvista.com的注册表文件

@Application Experience 在应用程序启动时为应用程序处理应用程序兼容性缓存请求 大多的程序都可以运行 关闭

@**Background Intelligent Transfer Service 使用空闲网络带宽在后台传送文件。如果该服务被禁用,则依赖于 BITS 的任何应用程序(如 Windows Update 或 MSN Explorer)将无法自动下载程序和其他信息。 为自动升级等提供服务 关闭(自动更新需要)

@Base Filtering Engine 为防火墙和网站筛选提供服务 如果你对VISTA自带的防火墙和对网站都比较熟悉的话 可以关闭

@**automatic==Computer Browser(局域网)
is basing on this service, and some LAN application such as printing need it.
局域网浏览网络邻居。

@Cryptographic Services用于确认 Windows 文件的签名和允许安装新程序 可以关闭
with the importance of security in Vista, this is a service you’ll definitely be needing. Cryptographic Services is required for Windows Update and installing signed drivers, among other features of Vista. If you disable this, Vista will automatically set it back to Manual and start the service when needed, so there is little point in disabling it.

@Desktop Window Manager Session Manager 桌面管理 可以关闭
his service controls the Desktop Window Manager (DWM), which is responsible for Aero (transparent windows, etc). Without this service, you won’t have Aero effects. DWM consumes a fair amount of RAM which increases with each window you have open (open 30 IE windows and you’ll likely exceed 100MB) as well as CPU (mine typically bounces between 0% and 3% every couple seconds, but with a large amount of windows can go much higher). You can temporarily disable this one (and Aero) from a command window with adminstrator rights by typing net stop uxsms (type net start usxms to turn it back on). If you want to save memory and CPU, and are willing to sacrifice the Aero visual effects, you can safely disable this service.

@Diagnostic System Host 诊断系统主机服务启用 Windows 组件的问题检测、故障排除和解决方案 有点像事件查看器 可以关闭

@Distributed Link Tracking Client: 用于局域网更新连接信息,比如在电脑A有个文件,在B做了个连接,如果文件移动了,这个服务将会 更新信息。占用4兆内存,禁用后将无法获得更新信息,不常使用局域网的化,影响不大。

@==manual(default setting)==Distributed Transaction Coordinator
It helps applications communicate with multiple data sources as part of one transaction, acting like a traffic cop to help each request get to the proper source.

@++automatic==DNS Client
The DNSView definition in a new window Client is not specifically required to use the internet. What it does do is try to improve your internet experience. The most basic way it does this is by caching domain name addresses, which speeds up the browsing experience. This service also determines if an IPv4View definition in a new window or IPv6View definition in a new window address would be more appropriate for a domain name. In an enterprise, it can also be useful in letting the network know your PC’s domain name, which can simplify finding shared resources. Though it is safe to disable this service, most users will likely end up with slower internet browsing, as well as other minor DNS related issues, so it’s best to leave this one on.

@Function Discovery Provider Host(局域网)
寻找,显示局域网电脑。但寻找局域网电脑时,此service会自动加载。
he Function Discovery Provider Host service allows resources to be discovered over the network. One of the more notable resources that depend on this is the Media Center Extender (an XBOX that can play media from your computer), but it can also be used to discover networked cameras, printers, disks, etc. If you are fine with manually setting these items up you may be able to get away with disabling this service, but since the default setting is ‘manual’, you probably won’t save any resources, so you might as well leave it alone.

@Function Discovery Resource Publication(局域网)
对lan无影响。

@++automatic==KtmRm for Distributed Transaction Coordinator
which assures that file and directory actions are handled properly in the event of a crash or failure. If no applications or components of Vista EVER crash, it’s probably OK to disable this one, but if you value your data, you’ll want to keep it running.

@**Print Spooler 将文件加载到内存供稍后打印 没有打印机的话就关闭(局域网打印机需要)

@++ReadyBoost(如果常把usb stick接在电脑上,建议保留)
  加速Vista的最简便也是最廉价的方式是使用Ready Boost技术,其使用USB闪存来扩充用户计算机的内存。一款1GB的闪存售价最低只有15美元,2GB容量闪存的价格大约稍高于1GB闪存价格的两倍。  怎样才能知道适合自己计算机的闪存容量?ReadyBoost 支持的最小容量是256MB,最大为4GB。微软推荐附加的闪存容量与系统内存的比率为1:1或2.5:1。例如你使用的计算机自带内存容量为 512MB,可以购买512MB至1.25GB存储容量的闪存,配置为1GB内存容量的系统应该使用的闪存容量在1GB至2.5GB之间。
  最难确知的信息是用户购买的USB闪存是否通过了ReadyBoost测试。所以在购买前一定要核实最低需求条件及其它ReadyBoost信息。在购买指定的闪存前,可以先通过网络搜索其信息并确定其是否已经进行过ReadyBoost测试。
  在使用ReadyBoost功能时,首先将闪存插入USB接口中,然后在屏幕上出现的窗口中选择“加速系统”。接下来选择“使用闪存”,之后点击“确定”按钮。在“属性”对话窗口的ReadyBoost标签中,用户即可以遵从Vista的建议空间容量,也可以通过滑动条选择自己认为合适的容量。

@Server 持此计算机通过网络的文件、打印、和命名管道共享。 需要的时候再打开 可以关闭
关闭后局域网,打印activity照旧;当Computer Browser Service is started, 此服务自动start。

@Security Center 监视系统安全设置和配置。 关闭

@Shell Hardware Detection 为自动播放硬件事件提供通知。 比如插U盘的时候的提示 可以关闭

@Tablet PC Input Service 启用 Tablet PC 笔和墨迹功能 可以关闭

@Task Scheduler(if can be stop) 使用户能在此计算机上配置和制定自动任务的日程。 也就是计划任务 关闭

@Telephony
提供电话服务 API (TAPI)支持,以便各程序控制本地计算机上的电话服务设备以及通过 LAN 同样运行该服务的服务器上的设备。设置ADSL连接或其它依赖电话线的网络需要此项目,用路由或不用电话线上网可禁用。

@Themes 为用户提供使用主题管理的经验。 关闭

@WebClient 基于 Windows 的程序能创建、访问和修改基于 Internet 的文件。主要用于WEB服务器 可以关闭
have not found a reason to have this service running. For security reasons, I recommend for this service to be disabled. It seems for web folder, WEB DAV etc. internet programs using local explorer or materials. If some MS products, such as MSN Explorer, Media Player, NetMeeting or Messenger fail to provide a particular function, try to enable this service to see if it is “required” for your configuration.

@Windows Error Reporting Service 允许在程序停止运行或停止响应时报告错误,并允许提供现有解决方案 程序错误报告 关闭

@Windows Update 自动更新 关闭

shorcut for windows power management

In Windows, howto on May 29, 2007 at 9:34 pm

shutdown :%SystemRoot%/System32/shutdown.exe /s

log off :%SystemRoot%/System32/shutdown.exe /l

restart :%SystemRoot%/System32/shutdown.exe /r

hibernate:%SystemRoot%/System32/shutdown.exe /h

Lastest Flash on FIrefox

In Windows on May 4, 2007 at 2:16 pm

The latest Flash 9.0.45.0 version got installed automatically in C:\WINDOWS\system32\Macromed\Flash instead of the C:\Program Files\Mozilla Firefox\plugins

Java Envoroiment Setting within ultraedit

In Windows, howto, software on April 21, 2007 at 9:14 am

Java环境变量设置

如果是Win2000/NT/XP系统,则设置环境变量为:
系统变量->新建->变量名:“JAVA_HOME”,变量值“C:\Java\jdk1.5.0_06”;
系统变量->新建->变量名:“CLASSPATH”,变量值“.;%JAVA_HOME%\lib”;
系统变量->编辑->变量名:“Path”,变量值“%JAVA_HOME%\bin”。
注:CLASSPATH中有一英文句号“.”后跟一个分号,表示当前路径的意思。

UltraEdit中设置Java环境
在“高级”菜单下,选择“工具配置”,然后添加:
命令行:C:\Java\jdk1.5.0_06\bin\javac.exe %f或C:\Java\jdk1.5.0_06\bin\javac.exe %n%e
%f、%n、%e分别表示完整文件名、不含扩展名的文件名、扩展名;
工作目录:%p,%p表示当前目录;
菜单项目名称:编译Java程序
最后,分别选中“保存活动文件”、“输出到列表方块”、“捕捉输出”。
在“高级”菜单下,选择“工具配置”,再次添加:
命令行:C:\Java\jdk1.5.0_06\bin\java.exe %n
%f、%n、%e分别表示完整文件名、不含扩展名的文件名、扩展名;
工作目录:%p,%p表示当前目录;
菜单项目名称:运行Java程序
最后,分别选中“保存活动文件”、“输出到列表方块”、“捕捉输出”

源文档 <http://www.cublog.cn/u/11335/showart.php?id=71772>