How to get rights to copy to Root of C:

Page 1 of 5 123 ... LastLast
  1.    11 Mar 2018 #1

    How to get rights to copy to Root of C:


    In order to effect a repair using DISM.EXE on Windows 10, the instructions tell me I must copy a file (install.wim) from my setup disk to the root of C: on my computer. However, despite the fact that I am logged in as the administrator and the "properties"of C:\ show that I have copy rights, it tells me that I do not have those rights. How can I copy that file to the root of C:?
      My ComputerSystem Spec

  2. topgundcp's Avatar
    Posts : 2,438
    Ubuntu14.04x64 MintMate17x64 Win10Prox64
       11 Mar 2018 #2

    You don't need to copy install.wim to C:, I normally copy to desktop.

    Example:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:%USERPROFILE%\Desktop\Install.wim:1 /LimitAccess

    But if you want, create a text file. copy and paste:
    Code:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    "EnableLUA"=dword:00000000
    Change file extension to .reg, double click to merge into the registry then reboot PC.
    Last edited by topgundcp; 11 Mar 2018 at 10:29.
      My ComputerSystem Spec


  3. Posts : 1,087
    Windows 10 Home x64 and Pro x86
       11 Mar 2018 #3

    dahermit,

    If, as suggested above in that reg file Registry hack, you ever turn off UAC temporarily to get a particular job done then you can choose to do so through the UI instead - see the TenForums UAC tutorial.

    Denis
      My ComputerSystem Spec

  4.    11 Mar 2018 #4

    No joy. I cut and pasted your DISM command into the Power Shell (as per your first option), ran it, and it generated this error:

    "Image Version: 10.0.15063.0[===========================81.0%============== ]Error: 0x800f081fThe source files could not be found.Use the "Source" option to specify the location of the files that are required to restore the feature. For more information..."

    Your second option was unclear/could not understand the command and how it would access a text file.
      My ComputerSystem Spec

  5.    11 Mar 2018 #5

    Try3

    If, as suggested above in that reg file Registry hack, you ever turn off UAC temporarily to get a particular job done then you can choose to do so through the UI instead - see the TenForums UAC tutorial.
    I went to the UAC tutorial and it just seemed to show how to change "when I want to be notified"...not how to turn off UAC temporarily. I am 74 years old for Christ's sake...I need a clear step-by-step procedure, have some patience with an old man.
      My ComputerSystem Spec


  6. Posts : 1,087
    Windows 10 Home x64 and Pro x86
       11 Mar 2018 #6

    dahermit,

    1 About "Your second option was unclear/could not understand the command and how it would access a text file"

    • That code the other user posted was a method for turning off UAC so that you could copy files to the root folder.
    • You can achieve the same thing through the UI [to set UAC to its lowest setting] or using the other methods shown in the tutorial I gave you a link to.
    • With UAC off or at its lowest setting, you can copy files to the root folder. But you would want to turn it back on again afterwards.


    2 More generally, if you are going to use that DISM command, put in the full path to your Desktop instead of using %UserProfile% if you have ever relocated your User files Desktop folder.

    • Windows is very bad at finding a relocated Desktop folder using %UserProfile%\Desktop.
    • I am not a Dism expert and I would study the TenForum tutorials on the subject if I had to check a particular command [I only use Dism to mess about with driver backups and restoration and have never tried its many other uses].


    Denis
    Last edited by Try3; 11 Mar 2018 at 13:12.
      My ComputerSystem Spec


  7. Posts : 1,087
    Windows 10 Home x64 and Pro x86
       11 Mar 2018 #7

    dahermit,

    Our posts have been crossing over each other but I did not notice your latest post until returning just now.

    Before doing anything else, please could you explain why you are trying to use Dism. It is not a run-of-the-mill tool but it is in fact a very advanced tool.

    If you are at all unsure about Dism use but really do want to use it then I recommend System file check (SFC) Scan and Repair System Files & DISM to fix things SFC cannot - ZigZag article in MSAnswers forum.
    • This article starts off with using SFC to check for problems and then explains how to use Dism to fix them.
    • I have always found ZigZag's procedures to be reliable.
    • ZigZag takes you all the way through in a logical sequence and ends with the command you are trying to use.
    • Note that ZigZag recommends using a "mounted" ISO file as the source of the install.wim. To "mount" an ISO file, you double-click on it then wait up to a minute for it to appear in your File explorer as an additional drive in your system.
    • ZigZag does not suggest copying the install.wim file anywhere but if you have already done so then I think you can just substitute

    the full drive and folder path to where you have put your install.wim file
    in place of
    X:\Sources\Install.wim

    Denis
      My ComputerSystem Spec

  8. Bree's Avatar
    Posts : 9,620
    10 Home x64 (1809) (10 Pro on 2nd pc)
       11 Mar 2018 #8

    topgundcp said: View Post
    You don't need to copy install.wim to C:, I normally copy to desktop...
    dahermit said: View Post
    No joy. I cut and pasted your DISM command ... it generated this error:

    Error: 0x800f081f
    The source files could not be found....
    If you want to copy a file to the root of C: you can. It's easiest if you are signed in with an account that is an administrator. When you try to copy you'll see this....

    Click image for larger version. 

Name:	copy to root of C.PNG 
Views:	91 
Size:	13.9 KB 
ID:	180525

    ....just click 'Continue' to complete the copying.

    A standard user can copy to C:\ too, but after clicking Continue you'll be asked for the name and password of an administrator account in order to finish the copying.

    If as a standard user you are NOT offered the chance to give an administrator password then you have FAR bigger problems than just not being able to copy. It means you have no administrator accounts at all on this PC - a situation that means you can no longer make any significant changes to your PC, such as creating new users or installing software.
      My ComputersSystem Spec

  9. topgundcp's Avatar
    Posts : 2,438
    Ubuntu14.04x64 MintMate17x64 Win10Prox64
       11 Mar 2018 #9

    • Windows is very bad at finding a relocated Desktop folder using %UserProfile%\Desktop.
    What do you mean ? Here's the screen shot:
    Click image for larger version. 

Name:	p1.jpg 
Views:	6 
Size:	149.1 KB 
ID:	180529
      My ComputerSystem Spec


  10. Posts : 1,087
    Windows 10 Home x64 and Pro x86
       11 Mar 2018 #10

    TopgunDCP - "Windows is very bad at finding a relocated Desktop folder using %UserProfile%\Desktop" - the simplest example of the potential for problems can be seen by entering %UserProfile%\Desktop into the File explorer address bar after relocating the Desktop folder. Given the OP's subsequent comments, I do not think this factor is relevant as I imagine that the OP would probably have mentioned user folder relocation. Perhaps the error the OP had using your example was something simpler such as a username that included spaces [I have never tried any Dism commands with a path containing spaces so can only guess that the normal way of using it within " would be sufficient]. However, having said all that, I would like to know why the OP wants to use Dism in the first place. Perhaps there is a simpler alternative for the OP's particular case. Denis
      My ComputerSystem Spec


 
Page 1 of 5 123 ... LastLast

Related Threads
Solved Can't save to c: root in General Support
Get error message when I try to save a document or picture on c:\ 'A required privilege is not held by client.' Is there a way to fix this? Thank you.
Solved So is C: root unavailable per default? in User Accounts and Family Safety
I just came across an error regarding use rights in the root of C:, I can not place files there. I can create a folder and place files inside the folder, but not in root. Is this to be expected? I got error 0x80070522 when trying and found...
$xxx Folders in Root of C: in General Support
I was under the impression that these folders would go away or can be deleted, BUT !! Has been some time from 1511 build was installed. C:\ $Windows -W " - BT C:\ $sysreset Still have .log and .xml from 12/26/2015 in...
[Help] Need Admin. Rights to do a simply copy paste. in User Accounts and Family Safety
Why? Why do I need to confirm this? I'm the Admin in my system. Is there a way to disable this stuff? I got rid of UAC (thank God!) but now this. I saw this in Windows 8 a while back in a friend's laptop and I didn't understand it. Please, people...
Allow write access to C:/ root in User Accounts and Family Safety
Even though I am administrator on my PC, I do not have write access to C:/. (Win 10 Pro) Has anyone else had this problem, or does anyone know of a fix? Thanks
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:56.
Find Us