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

    • I always disable animations in Windows using sysdm.cpl and yes, it feels faster. I have also reduced animations in my android phone using dev options.
    • Neowin's servers (hosted in the UK).
    • MacOS isn't Linux, but Proton is modified WINE, and WINE runs on MacOS. They would just need to add something like Box86 or Rosetta support.
    • PicPick 7.4.0 by Razvan Serea PicPick is user friendly and full of features for creating your image, suitable for software developers, graphic designers and the home user. It is an all-in-one program that provides a full-featured screen capture tool, intuitive image editor, color picker, color palette, pixel ruler, protractor, crosshair and even whiteboard. It not only has everything that you need, but it loads fast, and sits quietly in the system tray until needed. This software is provided as freeware for personal use only. In this case, you are granted the right to use this program free of charge. Otherwise, you need to pay for a license for commercial use. PicPick key features: For All Windows (Fully support Windows 11, 10, 8.1, 8, 7, Vista and XP both 32-bit and 64-bit) Multi-language is supported. (MORE 28+) All functions are fully supported on a dual screen environment. No Registry, No access to System folder (you can copy these files to portable USB) Screen Capture Auto-scroll, dual monitors and sound effect are supported Various output to File, Printer, Office programs, External program Sharing to FTP, Web, E-mail, Facebook and Twitter are supported as well Full Screen Active Window Window Control Scrolling Window Region, Fixed Region FreeHand Repeat Last Capture Image Editor Intuitive User Interface Windows Ribbon style Standard drawing, shapes, arrows, lines, text, and etc. Blur, sharpen, hue, contrast, brightness, pixelate, rotate, flip, frame effect and etc. Color Picker and Color Palette various color code type (RGB, HTML, C++, Delphi) Photoshop style RGB/HSV conversion is supported. Pick and Save your favorite color! Screen Pixel Ruler Horizontal and vertical orientation various units (Pixels, Inches, Centimeters) DPI setting (72, 96, 120, 300) colorful gradient skins You don't have to install any other screen ruler softwares. Screen Magnifier Zoom 2x to 10x option Stay on top, smooth display, and sizeable window Screen Protractor Have you seen any screen protractor function in other software? Screen Crosshair For aligning objects in graphics or design applications For calculating relative coordinates on screen Some prefer to use this tool than a pixel-ruler. Whiteboard For giving a presentation or just drawing something on screen PicPick 7.4.0 changelog: Added support for saving in WebP file format Added horizontal scrolling in the Image Editor with Shift and mouse wheel Fixed control capture failing to detect specific windows Fixed focus loss during delayed active-window captures. Download: PicPick 7.4.0 | 74.9 MB (Free for personal use only) Download: Portable PicPick 7.4.0 | 73.3 MB View: PicPick Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Stellarium 25.2 by Razvan Serea Stellarium is a free open source planetarium for your computer. It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope. It is being used in planetarium projectors. Just set your coordinates and go. Stellarium key features: Realistic simulation of the sky, sunrise and sunset Default catalogue of over 600,000 stars Downloadable additional catalogues for up to 210 million stars Catalog data for all New General Catalogue (NGC) objects Images of almost all Messier objects and the Milky Way Artistic illustrations for all 88 modern constellations More than a dozen different cultures with their constellations Solar and lunar eclipse simulation Photorealistic landscapes (more are available on the website) Scripting support with ECMAScript (a few demo scripts are included) Extendable with plug-ins: 8 plug-ins installed by default, including: artificial satellites plug-in (updated from an on-line TLE database) ocular simulation plug-in (shows how objects look like in a given ocular) Solar System editor plug-in (imports comet and asteroid data from the MPC) telescope control plug-in (Meade LX200 and Celestron NexStar compatible) The major changes of this version: Many changes in support of sky cultures Added 2 new plugins: Mosaic Camera and Custom Nebula Textures Many improvements in Core Updates in sky cultures (include new one) [full release notes] Download: Stellarium 25.2 (64-bit) | 361.0 MB (Open Source) View: Stellarium Home Page | Other Operating Systems | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • First Post
      Johnny Mrkvička earned a badge
      First Post
    • Week One Done
      viraltui earned a badge
      Week One Done
    • One Month Later
      serfegyed earned a badge
      One Month Later
    • Dedicated
      firey earned a badge
      Dedicated
    • Dedicated
      fettermanj earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      650
    2. 2
      Michael Scrip
      224
    3. 3
      ATLien_0
      222
    4. 4
      Xenon
      146
    5. 5
      +FloatingFatMan
      143
  • Tell a friend

    Love Neowin? Tell a friend!