I've installed cygwin on my work computer. The problem is that my my computer is part of a domain and cygwin is using my network home folder as my home folder every time it launches. I would like to have my home folder set to a folder on my local machine instead.

How do I do this?


First of all make sure your domain user is added to /etc/passwd:

mkpasswd -d >> /etc/passwd

Then just edit /etc/passwd and let it point to your desired directory. For example my entry looks as follows:


This places the cygwin home directory within my roaming profile folder within my user profile.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.