Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Saturday, March 20, 2010

Finding and killing application processes in the command prompt on Windows XP

To find PID or process name

tasklist.exe
Note: Not available in Windows XP Home edition by default. Google and download it.

To kill the PID or process name, look for tskill.exe under c:\windows\system32\

tskill.exe PID | PROCESS NAME

Thursday, March 11, 2010

Stop restart popup after automatic updates in Windows XP

Absolutely annoying feature of windows is a popup that keeps asking you to restart the system after a Windows update. Disable that!

# Disable current popup from the command prompt

net stop "automatic updates"

# Disable future auto restarting of system. 
# I'm using Windows XP Home so can't access gpedit.msc. 
# Need to use a registry script instead --> stop_update_restart.reg
# P.S. note the first line.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"RebootRelaunchTimeoutEnabled"=dword:00000000
"NoAutoRebootWithLoggedOnUsers"=dword:00000001

Wednesday, January 20, 2010

Download file from Linux machine to Windows machine using SCP

- Download PSCP.exe (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
- Open up Command Prompt
- Type the following

# Eg. if my pscp.exe is on my Windows desktop

"C:\Documents and Settings\Jason\Desktop\pscp.exe" jasonong@IP_ADDRESS_OF_LINUX_MACHINE:./PATH/TO/FILE "c:\Temp"

Sunday, January 17, 2010

X Forwarding in Windows

XMing + Putty

- XMing & launch XLaunch
- Launch Putty, making sure that "SSH" > "Enable X11 forwarding" is checked and "MIT-Selected-Cookie-1" is selected.

Thursday, January 14, 2010

Connect linux and windows machine via hamachi vpn gotcha

Make sure window's firewall is off...