RSS feed [root] /weblog /microsoft



title search:


Thu Apr 06 06:33:29 GMT 2023


(google search) (amazon search)
download zip of files only

Mon Apr 24 10:09:36 GMT 2017 From /weblog/microsoft


Check why process take a lot of CPU -[..]java-thread-cpu-analysis-on-windows.html

Creating Windows Runtime Components in C++ -[..]rary/windows/apps/hh441569(v=VS.85).aspx

dbg_x86 - Offical Windows debugger -[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
ntsd - Symbolic Debugger for Windows -[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
symchk - verify the .pdb matched your dll -[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
windbg - interface from dbg -[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en

Run windbg.exe and open memory.dmp into windbg (File->Open Crash Dump)

Memory limits of windows applications -[..]icles/memory-limits-applications-windows[..]s-that-every-developer-should-know-about

Code for creating ISO Image -[..]/create-iso-image-from-cddvd-SID641.aspx

Code for creating virtual drive -

UnitTest framework for .NET -

Complete example of building a REST base service and GUI on Win8 device -[..]icleId=240144594&siteSectionName=windows

Use msvsmon for remote debugging -

C# chart library comparison -[..]reate-charts-in-wpf-finance-applications

CLR profiler -

Debugging multi-thread program in VS -[..]icleId=240158201&siteSectionName=testing

Walk through the DLL dependence -

Debugging windows service -[..]042?elq=debf26dfe54f4342a26157cc533d8209

How to skip the default init for windows programs -

Create executable file by hand -[..]m/2015/10/08/a-handmade-executable-file/

Using var maybe costly -[..]6/beware-of-the-idictionary-tkey-tvalue/

Performance tuning -[..]blog/high-performance-dotnet-by-example/

(google search) (amazon search)

Fri Sep 02 02:33:22 GMT 2016 From /weblog/microsoft


Windows timezone -[..]en-us/library/cc749073%28v=ws.10%29.aspx

Time precision -[..]/156138/precision-timekeeping-on-windows

(google search) (amazon search)

Wed Aug 10 03:08:10 GMT 2016 From /weblog/microsoft


Environment variable -

Win command cheat sheet -

Windows Powershell tutorial, can work with Excel thought OLE -[..]l?articleID=206900601&dept_url=/windows/

Windows power shell tips -[..]ll-commands-you-should-already-know/4031

Overview of 65 CMD commands -[..]ws-networks-and-systems-in-a-better-way/

GUI development with PowerShell script, with ShowUI -[..]gui-applications-in-powershell/240049898[..]ackslash-to-escape-characters-in-cmd-exe <- replace '|' by "^|"

scripting the schedule task -[..]y/windows/desktop/bb736357(v=vs.85).aspx

(google search) (amazon search)

Mon Jun 20 01:31:33 GMT 2016 From /weblog/microsoft


How to use code to turn off LCD:
 SendMessage(FindWindow(Nothing, Nothing).ToInt32, Me.WM_SYSCOMMAND, Me.SC_MONITORPOWER, 2)[..]easeus-partition-master-professional.htm

Control Windows Service

C:\Documents and Settings\carfield>sc
SC is a command line program used for communicating with the
NT Service Controller and services.


How to check process start time:
 wmic process get caption,creationdate[..]0369/run-time-of-a-process-in-windows-xp

The overview of NT kernal -[..]nd/events/wincore2010/Dave_Probert_1.pdf

"I Contribute to the Windows Kernel. We Are Slower Than Other Operating Systems. Here Is Why." -

The GetTempFileName method will raise an IOException if it is used to create more than 65535 files without deleting previous temporary files. -[..]rary/

Look like it is useful to record all keys we use, but first we need to find out our pattern -[..]for-windows-productivity-tip2-for-geeks/

(google search) (amazon search)

Mon Aug 10 02:44:38 GMT 2015 From /weblog/microsoft


(google search) (amazon search)

Wed Jan 21 15:59:12 GMT 2015 From /weblog/microsoft


Launchy: The Open Source Keystroke Launcher -

Recover from register currupt -

Introduce a utility to clean up profile and speed up shutdown time (probably more than that) -[..]-windows-takes-so-long-to-shut-down.html

DD for windows -

Free file recovery -[..]m/Back-Up-and-Recovery/Restoration.shtml

File unlocker: If you get message that don't allow you to open / delete file as it is in use, may be you can use this tool and make it editable / deletable - Other than that, if you have file name that is too long and cannot be deleted, this tool can help either.

Remote command runner -

Snapit, capture text at screen to clipboard, amazing~

Better than [alt + tab] -[..]y-to-switch-between-windows-alttab/5779/

Scan disk on xp -[..]ive-2010-scan-fix-hard-disk-errors/6074/

ImDisk ( Virtual Disk Driver ) and others -

Watch directory change -

Virtual Desktop Manager -

forfile , like "for" in unix -

Recover deleted file -

(google search) (amazon search)

Sun Feb 10 03:57:37 GMT 2013 From /weblog/microsoft


Observations on meeting with Bill Gate -[..]bservations-on-meeting-bill-gates-2.html

(google search) (amazon search)

Tue Jan 22 05:09:37 GMT 2013 From /weblog/microsoft


Tips for Windows Server 2008 -[..]e-most-out-of-windows-server-2008-part3/

Some say putting this parameter at boot.ini can enable 3.5 GB memory on 32bit Windows XP [/NoExecute=AlwaysOff /nolowmem /PAE "/3GB /userva=3030"]

Stop system service is not use, and and

Enabling DMA -

Here is NTFS tuning tips:

Some more links should check[..]WindowsNTMemorymanagementparameters.html

(google search) (amazon search)

Sun Jun 24 09:41:25 GMT 2012 From /weblog/microsoft


Overview -[..]012/06/18/what-is-the-new-windows-azure/

(google search) (amazon search)

Mon May 28 15:15:08 GMT 2012 From /weblog/microsoft


My friend have a webapp cannot run. The problem is MS sql server service cannot start, and the error message is: "cannot found path specify".

The only hint I have is the database fail to start after scandisk. When I look into the installation path, it is show as: "d:\progra~1\micros~2\mssql", but it should be d:\progra~1\micros~1\mssql. Thus, scandisk in fact may re-generate the 8 characters path for windows file system which will may break some services or programs.


Sometime DLL cannot be loaded because there is strong name setting, we can disable it using "sn -Vr" -

(google search) (amazon search)

Mon May 28 15:13:59 GMT 2012 From /weblog/microsoft


A very useful document of how to do more secure access to VNC and may be other SSH server -

Don't login as ADMIN -

(google search) (amazon search)

Sat May 28 17:16:01 GMT 2011 From /weblog/microsoft


Having file name with unicode in a zip file often causing zip file cannot be decompressed. Someone say that winrar able to handle that:

(google search) (amazon search)

Fri Dec 25 14:51:13 GMT 2009 From /weblog/microsoft


substituting paths on physical and logical drives as virtual drives -

(google search) (amazon search)

Mon Sep 14 17:43:25 GMT 2009 From /weblog/microsoft


(google search) (amazon search)

Mon Sep 14 14:38:41 GMT 2009 From /weblog/microsoft


How to let cygwin xwindow work with dual monitor : XWin -multiwindow -multiplemonitors -screen 0 2560x1024 -clipboard -silent-dup-error &

The single greatest resource of cygwin, simple and cover most needed resource -[..]steps_to_higher_cygwin_productivity.html

[weiqi@gao] $ head -1 ChangeLog > /dev/clipboard -

Open bash at explorer -

X server access deny [$ AUDIT: Fri Sep 14 11:06:29 2007: 4108 XWin: client 1 rejected from IP] , solution: [xhost +]

How to setup sshd, basically
1) set CYGWIN=binmode tty ntsec
2) ssh-host-config (should done all setup)
2) cygrunsrv -I sshd -P /usr/sbin/sshd (if you like to manually add service)

Cygwin X tutorial -

(google search) (amazon search)

Mon Dec 29 08:01:20 GMT 2008 From /weblog/microsoft


(google search) (amazon search)

Wed Oct 15 16:02:29 GMT 2008 From /weblog/microsoft


How is the data structure -

(google search) (amazon search)

Fri May 02 11:00:49 GMT 2008 From /weblog/microsoft


Map ssh path and winxp drive -

(google search) (amazon search)

Thu Feb 21 11:54:59 GMT 2008 From /weblog/microsoft


Increase or Decrease font size -

Divide in Excel -

Default to paste unformatted -

Reference of MS office file type and format -

Background of why MS office are so complicate to work with, with some solutions
1) Call office as external service , few details mentioned in the articles
2) Use other format that office support

(google search) (amazon search)

Tue Jul 10 14:27:25 GMT 2007 From /weblog/microsoft


How windows boot up -[..]w-windows-starts-up-part-the-second.aspx

(google search) (amazon search)

Wed Apr 11 16:15:28 GMT 2007 From /weblog/microsoft


Using SNMP -[..]try=monitoring_windows_servers_with_snmp

Or using Windows Powershell -[..]ogies/management/powershell/default.mspx

registry-tweaks-for-servers -[..]6/07/25/registry-tweaks-for-servers.html

A good articles of introducting Windows process monitor -[..]loperworks/library/j-memusage/index.html

(google search) (amazon search)

Sat Mar 03 04:36:44 GMT 2007 From /weblog/microsoft


See how to tune cleartype font display

(google search) (amazon search)

Wed Aug 23 03:30:36 GMT 2006 From /weblog/microsoft


One of the complicate issue of windows is there are so many way to put startup running task, this is a nice article that explain all ot those[..]8/22/how-to-remove-startup-programs.html

(google search) (amazon search)

Thu Aug 17 06:50:16 GMT 2006 From /weblog/microsoft


The path is c:\WINDOWS\system32\drivers\etc>

(google search) (amazon search)