Philippe Truche’s Blog

21 February 2007

Visual Studio 2005 Service Pack 1 Installation Issue with EFS

Filed under: .NET — Philippe Truche @ 6:06

Argh… what a struggle it was to install Visual Studio 2005 Service Pack 1 on my laptop.  I googled the issue and did not turn up any useful information.   Since I figured out what the issue was, I figured this blog might come in handy for others.

Here was the error I was getting: “Error 1321: The Installer has insufficient privileges to modify this file: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\VisualBasic\1033\”

It turns out this issue is caused by the Encryption File System (EFS).  To get around the issue, I performed the following steps:

  1. Ran the installer file (VS80sp1-KB926601-X86-ENU.exe) up to the point I have to click OK.  This step alone takes a few minutes.
  2. Before clicking the OK button to have the installer proceed with the installation, I snoozed the Encryption File System by clicking on Snooze on the popup menu of the Encryption File System tray icon.
  3. In the command line, I ran the following command to decrypt the files in the “C:\Program Files\Microsoft Visual Studio 8″ path: C:\>cipher /A /D /S:”C:\Program Files\Microsoft Visual Studio 8”
  4. I clicked OK on the installer to let it proceed with the installation of service pack 1.
  5. The installer ran for a while, and eventually completed the installation successfully.

Voila.  That was it.  Let this entry be useful to someone else.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: