Category Archives: SystemIT

Create a Shortcut to Windows Explorer Objects Using CLSID

Hi SysAdmins

CLSID stands for Windows Class Identifiers, which are  long number that represents a unique id for an application component.

CLSIDs can be used to target application component without knowing their name.

If we want to create a shortcut to a location in a computer without stating its name, we can use CLSIDs.

Lets say that you want to set the windows explorer start-up folder in windows 7 to open up My Computer.

Continue reading Create a Shortcut to Windows Explorer Objects Using CLSID

How to find the system uptime in Windows XP/2003/Vista/2008

Hi SysAdmins

It is very useful to know how many days are your system up and online. Especialy in windows OS.

There are several ways to find the system uptime in Windows XP and above:

Using Systeminfo command:

This command-line utility shows the time that the system was booted and its running time.

Continue reading How to find the system uptime in Windows XP/2003/Vista/2008

Display computer name under My computer icon

Hi

A very useful trick that I always use in my servers is displaying the computer name under ‘My Computer’ or ‘Computer’ in Windows 7/2008R2

To do this you need to change a certain registry key.

In xp/2003 operation systems the process is simple as described below.

In 2008/Win7 though, you will first have to logon as administrator and take ownership on the hive where the registry settings needs to be modified.

So how do we do this?

Continue reading Display computer name under My computer icon

How to build a simple setup program you’ve developed yourself.

Hi SysAdmin

Ever wanted to build your own executable software? or protect your credentials included in a script?

There are some tools on the market like ‘wise installation system’ that can do the job.

But there is also a nice and free solution from Microsoft, embedded in your OS.

Continue reading How to build a simple setup program you’ve developed yourself.

How to creat Mini Macros with the doskey command

While you are in a command prompt session, you can create mini macros to execute long sentences of commands with just one word:

doskey mnd = net use Z: \\server1\myshare /user:admin MyPassword 

When you write mnd and hit enter, the complete net use command will be executed.

Continue reading How to creat Mini Macros with the doskey command