For Linux and Shell scripting.

Leave a comment

R1Soft Windows Agent Driver (buagent) – Failed to open control device

After upgrading/installing R1soft windows agent, you may get following error message:

Failed to open control device. Have you rebooted since the agent was installed? Error: 0
Error 1067: The process terminated unexpectedly, when attempting to start the service manually.

The problem is with the installation script and the way Windows handles these values.

This workaround must be run as the local administrator. Users with elevated ‘admin-level’ privilege will not work. Domain administrator may not work.

The workaround is to reinstall the driver as follows:

For x86_64

1. cd C:\Program Files\R1Soft\buagent
2. r1soft-install-driver /i x64\R1VolumeFilterInstall.inf
r1soft-install-driver64.exe /i x64\R1VolumeFilterInstall.inf

For x86

1. cd C:\Program Files\R1Soft\buagent
2. r1soft-install-driver /i x86\R1VolumeFilterInstall.inf
r1soft-install-driver32.exe /i x86\R1VolumeFilterInstall.inf

Restart your server.

That’s all !!!



Active Server Pages error ‘ASP 0131’, Disallowed Parent Path

When you use relative paths in include statements with Microsoft Active Server Pages (ASP), browsing a Web page may return an error message similar to the following:

Active Server Pages error 'ASP 0131'
Disallowed Parent Path
The Include file '../<filename.asp>' cannot contain '..' to indicate the parent directory.

This is caused by disabling ASP’s “parent paths” for a Web site or application while using relative parent paths in an include statement.

Relative parent paths in include statements use the following form:
<!--#include file="../<filename.ext>"-->


The best solution to the problem is to use absolute virtual paths from the root of the Web site instead of relative paths.

An alternative is to enable parent paths; however, this is not the preferred method. This is accomplished for your default Web site by using the following steps:

Internet Information Services 6.0
1. Open the Internet Services Manager in the Microsoft Management Console (MMC).
2. Right-click on your Default Web Site and select Properties.
3. Click the Home Directory tab.
4. Click the Configuration button.
5. Click the App Options tab.
6. Click to select the Enable Parent Paths checkbox.
7. Click the OK button until you return to the MMC.

Internet Information Services 7.0
1. Start Internet Services Manager.
2. Click Default Web Site, and then click Properties.
3. Double-click ASP in the Features pane.
4. Expand Behavior.
5. Click Enable Parent Paths.
6. Click True for Enable Parent Paths.
7. Click Apply.

1 Comment

How to configure OutLook email client?

Steps to configure OutLook Email client


1. Click “Tools” -> “Email Accounts” on the menu bar.

2. Select “Add a new e-mail account” and click “Next”.

3. Select “POP3” and click “Next”.

4. Enter your name and email address under “User Information”.

5. Under “Logon Information”, enter the username and password you use to login to the mail server. MAKE SURE to put the domain at the end of the username — e.g. “” and not just “user”.

6. Check “Remember password” if desired.

7. Under “Server Information”, enter the mailserver in both the POP3 and SMTP fields.

8. Click “More Settings…”.

9. Open the tab “Outgoing Server”. Check the box that says “My outgoing server (SMTP) requires authentication”, and make sure that “Use same settings as my incoming mail server” is selected beneath that.

10. Click “OK”, then “Next”, and then “Finish”.


How to configure OutLook Express

Steps to configure configure Outlook Express.
1) Launch Outlook Express

2) Click Tools>>Accounts.

3) In the “Internet Accounts Windows” click Add >> Mail.

4) Fill in your username and Click Next.

5) Fill in your email address and Click Next.

6) On the “Email Servers Name” page, fill in the server information.
“My incoming mail server is a POP3 server.”

“Incoming Mail server”: –> Fill in with your mail server name.
“Outgoing mail server”: –> Fill in with your mail server name.
Now, Click Next.

7) In the account name field enter your e-mail address ( and the password below. Click Next.

8)Click Finish.

9) Take Tools >> Accounts >> Properties >> Servers
Enable the “My server requires authentication” option and click Apply

10) Click the Advanced tab,
Enable the “Leave a copy of messages on the server” option and click Apply.

Now Outlook Express must be configured for you to send and receive mails.


How to flush ARP cache in Windows servers

Address Resolution Protocol (ARP) is a protocol for mapping an IP address to a physical machine address that is recognized in the local network.  The physical machine address is also called Media Access Control or MAC address. A table, usually called the ARP cache, is used to maintain a correlation between each MAC address and its corresponding IP address. ARP provides the protocol rules for making this correlation and providing address conversion in both directions.

ARP is very crucial for TCP/IP network communication. If you begin to notice network connectivity problems such as particular web pages not loading or not being able to ping certain IP addresses then clearing your ARP cache is a good place to start. The TCP/IP ARP Command component provides the functionality to add, delete, or display the IP address for MAC address translation.

To flush/Delete the ARP cache in Windows 2000/2003, run the following command;
netsh interface ip delete arpcache

Delete IP address using arp command
arp -d <ip address>

Display arp table
arp -a

Add static entry to ARP table
arp -s <ip address> <mac address>


How to kill or disconnect a terminal session in Windows 2000 servers.

To disconnect a session, you can use the command tsdiscon.
tsdiscon SessionID | SessionName [/server:ServerName] /v

To kill a disconnected session, you can use the command rwinsta.
rwinsta {sessionname | sessionid} /SERVER:servername

• SessionID: Use this parameter to specify the ID of the session that you want to disconnect. To determine the ID of the session that you want to disconnect, use the query session command.
• SessionName: Use this parameter to specify the name of the session that you want to disconnect. To determine the name of the session that you want to disconnect, use the query session command.
• /server:ServerName: Use this parameter to specify the Terminal Services server that hosts the session that you want to disconnect. If you omit this parameter, the current Terminal Services server is specified.
• /v: Use this parameter to display information about the actions that are being performed.


Install wget on windows and setup scheduled tasks using wget

WGET is a non-interactive network downloader which supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.

In order to setup wget on windows machines, download wget.exe:

Copy it to: C:\wget\ and C:\WINDOWS\system32. Now, you will be able to execute the “wget” command as in any *nix machine.

If you want to setup any scheduled task using wget, use the “Run” field in scheduled task as:
C:\wget\wget.exe -q -O nul “;