How to Securely Delete Temp files, History and Cookies

I would like to share on how to securely delete the temp files, history, cookies and cache files using ATF Cleaner. It look simple, but it’s actually very useful. ATF Cleaner is temp file cleaner that could do the job safely and without removing the windows system files. It’s perfectly work on the following operating systems : Windows 2003, Windows 98, Windows 2000, Windows NT and Windows XP.

Some Useful Features:

  • Cleaning of all user temp folders, administrator only can use this feature.
  • Cleaning of the Java cache, which seems to be harbouring more and more malware.
  • Cleaning for the Opera browser, including Operas cache, cookies, history, download history, saved passwords and visited links

1. Download ATF Cleaner
2. Double Click ATF-Cleaner

3. By default, Main tab will appeared. Select All
4. Press Empty Selected
5. Exit

How to Check the Windows SID using PsGetSid

Windows SID duplication issue can be happen after you image the windows operating system (OS) or after you clone the VMware guest windows OS. Before assigned a new SID to cloned machine, you have to know the current SID. So that you can compare before and after changed. There is a tool that included in the PsTools suite which can help you to read the computer’s SID. PsGetSid makes reading a computer’s SID and works across the network so that you can query SIDs remotely.

You can download the PsTools at below Mirrors:

Mirror 1
Mirror 2

Installation

Copy PsPsGetSid onto your executable path and type “psgetsid”.

Usage
Usage: psgetsid [\\computer[,computer[,…] | @file [-u username [-p password]]] [account]

Example:

    C:\PsTools>psgetsid
    
    PsGetSid v1.44 - Translates SIDs to names and vice versa
    Copyright (C) 1999-2008 Mark Russinovich
    Sysinternals - www.sysinternals.com
    
    SID for \\EHOWSTUFFPC:
    S-1-5-21-1390067357-1214467892-839558901
    

Before you start to check SID for remote computer, make sure you mapped the remote computer using admin privileged or make default admin$ share be available.

    C:\PsTools>psgetsid \\192.168.2.3
    
    PsGetSid v1.44 - Translates SIDs to names and vice versa
    Copyright (C) 1999-2008 Mark Russinovich
    Sysinternals - www.sysinternals.com
    
    SID for \\192.168.2.3:
    S-1-5-21-36825260865-4174531124-39197682092

How to Add Persistent Static Routes in Windows

Today I will show you how to add persistent static route in windows environment. Just like linux and unix environment, route command can be used to add static routes in Windows pc or windows server. There is a different between static route and persistent static route. Static route configuration will be erased after you reboot the machine. But in persistent static route, you will add –p in the route command which will keep the configuration in the registry even after machine rebooted.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes
    

Example of static route command:

    route add 192.168.2.0 mask 255.255.255.0 192.168.2.1 metric 1
    

To view the static route you can use this command

    D:\>route print
    ===========================================================================
    Interface List
    0x1 ........................... MS TCP Loopback interface
    0x2 ...01 56 57 d1 00 08 ...... VMware Virtual Ethernet Adapter for VMnet8
    0x3 ...01 56 57 d1 00 01 ...... VMware Virtual Ethernet Adapter for VMnet1
    0x4 ...10 22 49 h0 b7 a7 ...... Broadcom NetLink (TM) Fast Ethernet - Packet Sch
    eduler Miniport
    0x5 ...01 32 5e 3b gb 77 ...... Dell Wireless 1395 WLAN Mini-Card - Packet Sched
    uler Miniport
    0x10007 ...00 1h e1 de 27 gh ...... Bluetooth LAN Access Server Driver - Packet
    Scheduler Miniport
    ===========================================================================
    ===========================================================================
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      192.168.2.1     192.168.2.2       25
            127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
          192.168.2.0    255.255.255.0      192.168.2.2     192.168.2.2       25
          192.168.2.2  255.255.255.255        127.0.0.1       127.0.0.1       25
        192.168.2.255  255.255.255.255      192.168.2.2     192.168.2.2       25
         192.168.26.0    255.255.255.0     192.168.26.1    192.168.26.1       20
         192.168.26.1  255.255.255.255        127.0.0.1       127.0.0.1       20
       192.168.26.255  255.255.255.255     192.168.26.1    192.168.26.1       20
        192.168.201.0    255.255.255.0    192.168.201.1   192.168.201.1       20
        192.168.201.1  255.255.255.255        127.0.0.1       127.0.0.1       20
      192.168.201.255  255.255.255.255    192.168.201.1   192.168.201.1       20
            224.0.0.0        240.0.0.0      192.168.2.2     192.168.2.2       25
            224.0.0.0        240.0.0.0     192.168.26.1    192.168.26.1       20
            224.0.0.0        240.0.0.0    192.168.201.1   192.168.201.1       20
      255.255.255.255  255.255.255.255      192.168.2.2     192.168.2.2       1
      255.255.255.255  255.255.255.255     192.168.26.1    192.168.26.1       1
      255.255.255.255  255.255.255.255    192.168.201.1   192.168.201.1       1
      255.255.255.255  255.255.255.255    192.168.201.1           10007       1
      255.255.255.255  255.255.255.255    192.168.201.1               4       1
    Default Gateway:       192.168.2.1
    ===========================================================================
    Persistent Routes:
      None
    

Example of Persistent static route command:

    route -p add 192.168.2.0 mask 255.255.255.0 192.168.2.1 metric 1
    

To view the static route you can use this command

    D:\>route print
    ===========================================================================
    Interface List
    0x1 ........................... MS TCP Loopback interface
    0x2 ...01 56 57 d1 00 08 ...... VMware Virtual Ethernet Adapter for VMnet8
    0x3 ...01 56 57 d1 00 01 ...... VMware Virtual Ethernet Adapter for VMnet1
    0x4 ...10 22 49 h0 b7 a7 ...... Broadcom NetLink (TM) Fast Ethernet - Packet Sch
    eduler Miniport
    0x5 ...01 32 5e 3b gb 77 ...... Dell Wireless 1395 WLAN Mini-Card - Packet Sched
    uler Miniport
    0x10007 ...00 1h e1 de 27 gh ...... Bluetooth LAN Access Server Driver - Packet
    Scheduler Miniport
    ===========================================================================
    ===========================================================================
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      192.168.2.1     192.168.2.2       25
            127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
          192.168.2.0    255.255.255.0      192.168.2.2     192.168.2.2       25
          192.168.2.0    255.255.255.0      192.168.2.1     192.168.2.2       1
          192.168.2.2  255.255.255.255        127.0.0.1       127.0.0.1       25
        192.168.2.255  255.255.255.255      192.168.2.2     192.168.2.2       25
         192.168.26.0    255.255.255.0     192.168.26.1    192.168.26.1       20
         192.168.26.1  255.255.255.255        127.0.0.1       127.0.0.1       20
       192.168.26.255  255.255.255.255     192.168.26.1    192.168.26.1       20
        192.168.201.0    255.255.255.0    192.168.201.1   192.168.201.1       20
        192.168.201.1  255.255.255.255        127.0.0.1       127.0.0.1       20
      192.168.201.255  255.255.255.255    192.168.201.1   192.168.201.1       20
            224.0.0.0        240.0.0.0      192.168.2.2     192.168.2.2       25
            224.0.0.0        240.0.0.0     192.168.26.1    192.168.26.1       20
            224.0.0.0        240.0.0.0    192.168.201.1   192.168.201.1       20
      255.255.255.255  255.255.255.255      192.168.2.2     192.168.2.2       1
      255.255.255.255  255.255.255.255     192.168.26.1    192.168.26.1       1
      255.255.255.255  255.255.255.255    192.168.201.1   192.168.201.1       1
      255.255.255.255  255.255.255.255    192.168.201.1           10007       1
      255.255.255.255  255.255.255.255    192.168.201.1               4       1
    Default Gateway:       192.168.2.1
    ===========================================================================
    Persistent Routes:
      Network Address          Netmask  Gateway Address  Metric
          192.168.2.0    255.255.255.0      192.168.2.1       1
    

How to Resolve window handle for the ‘AxQuickMksAxCtl’ Control Error

I believed most of the VMware administrators experience this issue while accessing the virtual server console.

Error message 1:

    Unable to get the window handle for the ‘AxQuickMksAxCtl’ control. 
    Windowless ActiveX controls are not supported.
    

When accessing the Console tab, this error will be return.

Error message 2:

    Exception has been thrown by the target of an invocation
    

Resolution :
1. Go to run Type cmd. In Windows Vista and Windows 7, make sure that you use the command prompt with Administrator privileges
2. Type this command :

    BCDedit.exe /set {current} nx AlwaysOff

Note : This is to set the system DEP policy to Always Off in the Windows operating system

How to Install the Telnet Client in Windows Vista and Windows 7

Microsoft Windows Vista, Windows Server 2008 and Windows 7 come with built in telnet client and server. But, It was disabled by default. To telnet the remote computer or network equipment or remote server, telnet client is required. This simple steps will guide you how to install or enable the telnet client.

Go Control Panel –> Programs and Features

Click Turn Windows features on or off, windows features will prompt.

Check the check box for “Telnet client”. Click ok to finish.