Stata: Data Analysis and Statistical Software
   >> Home >> Resources & support >> FAQs >> Windows Vista error while creating stata.lic

Why do I receive the error “cannot open C:\Program Files\Stata11\STATA.LIC” on a Windows Vista machine?

Title Windows Vista error while creating stata.lic  
Author Theresa Boswell, StataCorp
Date July 2007; minor revisions October 2012

Some users may encounter the following error message when attempting to install Stata on a Windows Vista machine:

I cannot open C:\Program Files\Stata11\STATA.LIC for writing.
No Action Taken.

The default Vista or Windows 7 permission settings do not allow applications write permissions to their respective install directories, even if you are logged into a machine as administrator. Stata needs these permissions to create its license file. (This issue has been resolved in Windows 8.)

To get around the problem, you must right-click the Stata executable in the Stata install directory and select “Run as Administrator” from the right-click menu to open Stata. Then you can enter your authorization information, etc., and Stata will create the proper file.

Technical note:   If you are having trouble updating Stata on a Vista machine, click here.

Bookmark and Share 
FAQs
What's new?
Statistics
Data management
Graphics
Programming Stata
Mata
Resources
Internet capabilities
Stata for Windows
Stata for Unix
Stata for Mac
Technical support
Like us on Facebook Follow us on Twitter Follow us on LinkedIn Google+ Watch us on YouTube
Follow us
© Copyright 1996–2013 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index   |   View mobile site