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 Bookmarks
  • StumbleUpon
  • Ma.gnolia
  • Reddit

Related posts:

Comments 6

  1. itsuport wrote:

    Thanks for that valuable information.

    Posted 25 Apr 2008 at 12:03 pm
  2. iBrick wrote:

    If only I would’ve found this earlier…

    Thanks a ton!

    Posted 11 Dec 2008 at 12:37 am
  3. Jose wrote:

    Thank you. However, I just did the command runas /user: Administrator bash, but it keeps asking me for a password. What should it be?

    Posted 12 Jun 2009 at 1:45 pm
  4. Some Real Guy wrote:

    Thanks for the idea, I just right click on the Cygwin.bat file and select “Run as administrator”. This way I completely subvert myself to the Microsoft dictators. Too bad you can’t select it under the “Compatibility” tab to make it permanent like a real application. Thanks again.

    Posted 14 Aug 2009 at 3:33 am
  5. nchake1 wrote:

    thank

    Posted 03 Nov 2009 at 5:41 am
  6. staffing321 wrote:

    Ok, if you check daily you can find more information thank you.

    Posted 02 Dec 2009 at 10:12 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 *

blog comments powered by Disqus