Shaxonline !

System Administration, Electronics , Technology , Gadgets and much more…

Recovering from lost Windows Administrator’s password

Today i cleared the Administrator’s password of Windows 2003 Server… This server is installed as a VM and nobody knew the Administrator’s password for it.

I booted this server with an iso file which has utilities to clear the password. It has very small footprint (3.6MB approx.). I am not sure whether it will work on all kind of hardware because you cannot include all drivers in this much small footprint.  So one should be lucky to have it working.

Download this small utility from this website ( a boot CD).

Disclaimer -: Please do not hold me responsible for any kind of Misuse of this information.. I have provided it because i think it will help the Sysadmin and users who get into trouble by forgetting the Admin password of old servers..

Remote Desktop (RDP / Terminal Client) to Linux Server

I am using the xrdp software since almost 3 years now, to make the remote desktop facility available for Linux servers.  The options shown after connecting to remote desktop connection through xrdp is bit confusing for newbie, but here is an article by david latham which describes it with details…

One issue that has been seen with xrdp is, it doesn’t support RDP ver.6. which comes with Windows XP service pack 3. So if you update your XP OS with Service Pack 3, you will keep getting “protocol error” while connecting through xrdp. Till xrdp issues a compatible version, one can use the older version of mstsc.exe and mstscax.dll with xrdp.

Configuring YUM to use proxy server…


To use Yum with proxy server,

edit /etc/yum.conf

Then add proxy server’s IP Address and Port number like follows.

proxy=http://PROXY-IP:PORT

If your proxy server requires authentication, Then add following lines,

proxy_username=PROXY-USERNAME
proxy_password=PROXY-PASSWD

save the file and try running Yum.

Using Wget with Proxy Server.

To Set a Proxy server for Wget, just type following commands.

export http_proxy=http://proxy-server-ip:port/

for example,

export http_proxy=http://192.168.0.1:3128/

similerly,

export ftp_proxy=http://proxy-server-ip:port/

If your proxy server requires authentication, use..

export http_proxy=http://username:password@proxy-server-ip:port/

And if you feel that it’s not secure to keep usernale password in environment variable, then use following cocmmand.

wget –proxy-user=USER –proxy-password=PASSWD http://shaxonline.org

You can also set this variable for all Users, Just open /etc/profile and put above lines at the end of the file.