Subscribe to Windows IT Pro

jkklim jkklim

James Lim is the systems manager, Distributed Systems and Services, at Neptune Orient Lines in Singapore. He is an MCSE, a Certified Ethical Hacker (CEH), a Certified Information Systems Security Professional (CISSP), and an Oracle Certified Professional (OCP) 9i. He earned a degree in business administration from the National University of Singapore.
Email: jkklim@hotmail.com

My Latest Content
My Latest Comments



Author Articles

Batch File Finds Out Who RDPed the Server

By James Lim, 09/08/2010

Here's a simple batch file you can use to quickly identify the administrators and privileged users who recently logged on to a server from a remote machine.

Delete Junk Folders Created by SMS

By James Lim, 08/06/2009

Systems Management Server (SMS) is a great tool but sometimes it can create but not delete folders if improperly configured. Here's a PowerShell script you can use to find and ...

Use PowerShell to Execute Commands on Remote Machines

By James Lim, 03/19/2009

Instead of using PsExec to run commands on remote machines, try RemoteProcess.ps1. This PowerShell script uses Windows Management Instrumentation's (WMI's) Win32_Process class to ...

PowerShell Script Lets You Check Patches' Status

By James Lim, 12/26/2007

Wanting to experience the "power" in Windows PowerShell firsthand and to learn how to use PowerShell to solve problems, one reader rewrote in PowerShell a VBScript script that ...

Copy Group Memberships from One AD User to Another

By James Lim, 08/22/2007

CopyMembership.vbs is a real time-saver if you need to copy group memberships. Even if you don't, you'll likely find its dn function a handy piece of code for your scripting ...

Automatically Delete Old Folders

By James Lim, 06/27/2007

Do your users often create folders, then forget about them? If so, check out DelFolder.vbs. This script loops through all the folders in the specified root directory and deletes ...

Find Out Who Is Logged On to a Remote Machine With Just One Line of Code

By James Lim, 06/27/2007

Here's an example of how a PowerShell script can accomplish the same objective as VBScript script but with a lot fewer lines of code.

A Quick Way to Find Out Whether CD-ROM Drives Can Read and Write

By James Lim, 04/18/2007

If you have many PCs to maintain, even checking something as simple as whether their CD-ROM drives are read-only or read/write can be a real chore. Here's a script that you can ...

An MMC-less Way to Add Computers to Global Groups

By James Lim, 03/28/2007

Adding computers to global groups in the MMC Active Directory Users and Computer snap-in takes multiple searches and many mouse clicks. If you often have to perform this task, ...

Automatically Delete Old Files

By James Lim, 01/24/2007

Use Delfile.vbs to delete old files from your network drive.

Add or Remove AD Users

By James Lim, 12/11/2006

Use a simple script to quickly and easily add or remove a Windows NT user ID at the command prompt.

Quickly Detect Who Is Logged On to Your Remote Machines

By James Lim, 06/12/2006

Here's a script that uses WMI to detect the currently logged-on user on the specified remote machine.

Determine the Machines Users Are Logged On To

By James Lim, 01/17/2006

Here’s a script that locates the machine a user is logged on to by looking at the open sessions on the user’s home server and determining which computers those sessions originate ...

Forcing VBScript Files to Run in CScript Mode

By James Lim, 12/12/2005

If you use the CScript script host often, you’ll want to check out the checkengine subroutine. This subroutine determines the script host currently being used and automatically ...

Does SUS Make You Want to Send an SOS?

By James Lim, 07/26/2005

Each time SUS downloads patches, there are always a few machines not properly patched. Here’s a handy script that checks machines to determine whether the specified patch was ...

Dsmod.exe Improvement

By James Lim, 11/15/2004

A reader offers a script that makes Windows Server 2003’s dsmod.exe run more efficiently



Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.