Run Cygwin on Vista as Administrator

Errm … as we already know, our admistrator account (the one that we use to log onto Vista) doesn’t really have access permission to all over the system. So when you do make install in cygwin you have permission error. The workaround is to activate the real Administrator account:

Right click on Computer and choose Manage. Select Computer Management (Local) > System Tools > Local Users and Groups > Users and double click the Administrator user. Uncheck Account is disabled. Right click on the Administrator user and choose Set password and enter a password for the Administrator user.

Now the Administrator account is activated, fire up cmd and execute the following commands:

cd c:/cygwin/bin
runas /user:Administrator bash

The last command will open up cygwin with the Administrator account. But now it’s environment is not set up properly, we still need to copy the skeleton files to proper home folder /home/Administrator/:

. /etc/profile

  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • StumbleUpon
  • Ma.gnolia
  • Reddit

Related posts:

Comments 1

  1. itsuport wrote:

    Thanks for that valuable information.

    Posted 25 Apr 2008 at 12:03 pm

Trackbacks & Pingbacks 1

  1. From How to fix Cisco VPN Client error 442 on Windows Vista | L.A.M.N.K on 07 Nov 2007 at 6:00 pm

    [...] the real Administrator account ( for detailed howto see this post [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *