Can't install to Program Files ("Error opening file for writing")


Recommended Posts

I have just done a clean install of Windows 10 1903 from an ISO.

 

I have downloaded Tor Browser, which by default tries to install to the folder the installer is stored.

 

I have changed this to C:\Program Files\Tor Browser but I get the following:

 

eb_torprog-1.thumb.png.97e8354a0745900726de31c3fa8e8a4d.png

 

It also happens if I try to install to the Program Files (x86) folder.

 

How can permissions be screwed up on a clean install of Windows?

 

During Windows' installation, I signed in to my Microsoft Account. Could it be syncing some corrupt settings?

  On 11/06/2019 at 18:45, Elliot B. said:

I have just done a clean install of Windows 10 1903 from an ISO.

 

I have downloaded Tor Browser, which by default tries to install to the folder the installer is stored.

 

I have changed this to C:\Program Files\Tor Browser but I get the following:

 

<screenshot snipped>

 

It also happens if I try to install to the Program Files (x86) folder.

 

How can permissions be screwed up on a clean install of Windows?

 

During Windows' installation, I signed in to my Microsoft Account. Could it be syncing some corrupt settings?

Expand  

Fixed it by running the installed as an Administrator.

 

I am the only one who uses this PC; it's very frustrating that Microsoft has not allowed me to even install programs properly on a normal install of Windows 10.

 

Annoyingly enough, I'm already set as an Administrator.

 

eb_acctype1.thumb.png.56a4f7f01e4b2b2a5dcdcd5a7cb8ec76.png

 

Any idea how I can actually be set as an administrator of my own PC without having to log out of my Microsoft Account?

  On 11/06/2019 at 20:53, Elliot B. said:

Fixed it by running the installed as an Administrator.

 

I am the only one who uses this PC; it's very frustrating that Microsoft has not allowed me to even install programs properly on a normal install of Windows 10.

 

Annoyingly enough, I'm already set as an Administrator.

 

eb_acctype1.thumb.png.56a4f7f01e4b2b2a5dcdcd5a7cb8ec76.png

 

Any idea how I can actually be set as an administrator of my own PC without having to log out of my Microsoft Account?

Expand  

AFIK, even with the hidden admin account, UAC still blocks certain installations, and should (in theory) prompt you for permission, I have had a few programs that have done odd things like what you showed, and simply right clicking and running as administrator, solved the issues 99% of the time.

You could try this:

net user Administrator /active:yes

to activate the 'hidden' account and simply swap yes for no to disable the account.

  On 11/06/2019 at 21:12, jnelsoninjax said:

AFIK, even with the hidden admin account, UAC still blocks certain installations, and should (in theory) prompt you for permission, I have had a few programs that have done odd things like what you showed, and simply right clicking and running as administrator, solved the issues 99% of the time.

Expand  

I have had UAC disabled since the Vista days (not via. anything too much like Services, just via. the UI).

This is my personal PC, I'm the only user and I know what I'm downloading etc., so I've never enjoyed Windows mollycoddling me.

  On 11/06/2019 at 21:14, Elliot B. said:

I have had UAC disabled since the Vista days (not via. anything too much like Services, just via. the UI).

This is my personal PC, I'm the only user and I know what I'm downloading etc., so I've never enjoyed Windows mollycoddling me.

Expand  

I don't like the UAC either, but I have had issues with it disabled so I leave it running.

  On 11/06/2019 at 21:15, jnelsoninjax said:

I don't like the UAC either, but I have had issues with it disabled so I leave it running.

Expand  

I've had issues hard-disabling it but turning it to the lowest in Windows' UI never seems to cause me issues.

  On 11/06/2019 at 21:14, Elliot B. said:

I have had UAC disabled since the Vista days (not via. anything too much like Services, just via. the UI).

This is my personal PC, I'm the only user and I know what I'm downloading etc., so I've never enjoyed Windows mollycoddling me.

Expand  

The administrator permissions has changed from the Window 9X and XP days. 

 

What the administrator permissions allow you to do is Elevate your token.

When you run your day to day operations, you have standard user permissions. 

When you wish to do something that is protected, you need to add the Security Token that says you can.

The UAC prompt will do that.  Or, if you have Disabled the UAC prompt, you can right click and run as Administrator.

 

Its the same as using sudo in the *NIX world.  There are not a ton of things that require the administrator token.

 

Hello,

You just mentioned you had done a clean install of Windows 10 from an ISO.  My initial thought is there might have been some kind of corruption or failure during the process of installing the operating system.

My initial suggestion would be to wipe the internal drive of the computer, create fresh installation media (including formatting the USB flash drive prior to use and downloading a new copy of Windows 10 using the Windows 10 Media Creation Tool), and then starting anew.  This way you can have some certainty that the installation media, the operating system on it, and the drive to which you are installing do not have any problems.

 

Regards,

 

Aryeh Goretsky

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • This was cool back in the day when done properly - loved having icons of specific devices.
    • Microsoft quietly burying a massive Windows 7 hardware driver feature as Windows 11 kills it by Sayan Sen Last month Microsoft announced a big update for Windows hardware drivers. The company declared that it was killing Windows Device metadata and the Windows Metadata and Internet Services (WMIS). For those wondering what it is, device metadata, as the name suggests, is the collection of additional, user-facing information that an original equipment manufacturer (OEM) provides about a hardware device. The feature was introduced with Windows 7 and can include stuff like icons, logos, descriptive texts, among other things, that help the Windows UI display details about such devices in places like Task Manager or Device Manager. This was a huge deal back in the day when Windows 7 debuted. The company called the feature "Device Stage" and Microsoft described it as a "new visual interface" that essentially worked like a "multi-function version of Autoplay where it displays all the applications, services, and information related to your device." It is often considered synonymous with the Windows "Devices and Printers" Control Panel applet. Neowin did an in-depth overview of the feature when it first launched which you can find in its dedicated article here. The Windows OS was able to obtain the device experience metadata from the WMIS, but now that the feature is being deprecated, Microsoft has begun removing information about Device Stage from its official support documents. Neowin noticed while browsing that a support article regarding automatic Windows hardware drivers was updated for Windows 11 and 10 sometime last year after the release of Windows 11 24H2. Previously, this article was geared for Windows 7 and was much longer. It also contained information about Device Stage, which, as mentioned above, was a headlining feature on Windows 7. In the said article, the section "If Windows can't find information about your device in Device Stage" has been deleted. You can find the archived version of the support page here. Aside from shortening the amount of information on the page, Microsoft has also added some more details on it. The company has now tried to define what the Microsoft Basic Display Adapter is, how updating drivers through Device Manager works, as well as a thorough and detailed troubleshooting section for common hardware driver errors on Windows, including one for USB-C. You can find all the new details on the updated support page here on Microsoft's website.
    • Sounds creepy to say the least. Don't need nor want AI having access to my history. They're claiming it to be an "offline" model now, but how can we guarantee they don't go behind our backs and change that?
    • Exactly! Without those fundamentals you've mentioned, Democracy is literally just Demonstration of Crazy, nothing to be proud of in such system.
  • Recent Achievements

    • Veteran
      Yonah went up a rank
      Veteran
    • First Post
      viraltui earned a badge
      First Post
    • Reacting Well
      viraltui earned a badge
      Reacting Well
    • Week One Done
      LunaFerret earned a badge
      Week One Done
    • Week One Done
      Ricky Chan earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      481
    2. 2
      +FloatingFatMan
      264
    3. 3
      snowy owl
      238
    4. 4
      ATLien_0
      233
    5. 5
      Edouard
      176
  • Tell a friend

    Love Neowin? Tell a friend!