Windows 10: Copying files into WindowsApps directory

Discus and support Copying files into WindowsApps directory in Windows 10 Gaming to solve the problem; Hello, I want to copy some files into game directory in WindowsApps, but firstly I have access denied, so I have changed permission for every user. Now... Discussion in 'Windows 10 Gaming' started by Zolzy Nomes, Oct 20, 2023.

  1. Copying files into WindowsApps directory


    Hello, I want to copy some files into game directory in WindowsApps, but firstly I have access denied, so I have changed permission for every user. Now I have got access to that directory, but I cannot copy any files into it. Everytime it says that I don't have right permission. I have tried to delete some files from this folder, but I cannot restore it from bin. What should I do to have full permission for this folder? Someone asked this question before, but you haven't answered it correctly. Is there solution for this problem? Thanks.

    :)
     
    Zolzy Nomes, Oct 20, 2023
    #1
  2. Gaunt99 Win User

    Copying files into WindowsApps directory

    Hello,

    I want to copy some files into game directory in WindowsApps, but firstly I have access denied, so I have changed permission for every user. Now I have got access to that directory, but I cannot copy any files into it. Everytime it says that I don't have
    right permission. I have tried to delete some files from this folder, but I cannot restore it from bin. What should I do to have full permission for this folder? Someone asked this question before, but you haven't answered it correctly. Is there solution for
    this problem?

    Thank you.
     
    Gaunt99, Oct 20, 2023
    #2
  3. Copying files into WindowsApps directory

    Hi,

    Thank you for writing to Microsoft Community Forums.

    Please note that it is not advised to make any changes in the WindowsApps folder, as it can cause issues while using the pre-installed apps. However, to be on a safer side you can always create a system restore point to restore the PC to the state
    where everything was working fine. Refer the article to
    Create a system restore point


    Kindly follow the steps mentioned below to take ownership of WindowsApps folder.

    1. Click on the Search Bar on the left hand side of the
      Taskbar.
    2. Now type CMD, right click on it, and select
      Run as Administrator.
    3. Type in the following command: icacls "%ProgramFiles%\WindowsApps" /grant Administrators:F
    4. Once the above command is successfully executed run the following command:
      icacls "%ProgramFiles%\WindowsApps" /grant Administrators:F /t
    5. Type Exit and hit enter.
    6. Restart the PC.

    After the restart you should be able to make changes inside the WindowsApps folder.

    If the issue persists, please get back to us with the results of troubleshooting steps to assist you better.

    Regards,

    Prakhar Khare

    Microsoft Community – Moderator
     
    Prakhar_Khare, Oct 20, 2023
    #3
  4. Copying files into WindowsApps directory

    Script can copy file directory in one spot but not the other

    Haha yeah its fred. sorry its 8am and my mind isnt fully functional yet. There is an error along side the one my script posts: No such file or directory at script line 20.(which is the copy line). I pointed the script to one of the sub directories exactly, still wouldnt copy. I created a new sub dir, and copied some of the files from the main directory into the new directory, those wouldnt copy either.

    script:
    Code: #!/usr/bin/perl -w use strict; use warnings; use File::Find; use File::Copy; my $directory="..\\..\\doc\\xsd"; find (\&subr, $directory); sub subr { foreach ($File::Find::name=~/(.*)\.xsd$/) { my $filetobecopied = $File::Find::name; my $newfile = $1 . ".origxsd"; copy($filetobecopied, $newfile) or die "$File::Find::name cannot be copied $!"; chmod 0777, $File::Find::name; open (FILE, "<", $File::Find::name) or die "Cannot open file $!"; print $File::Find::name. "\n"; local $/; my $file=<FILE>; $f=~s/<!--[\w\W^]*?-->//gi; close FILE; open (OUT, ">", $File::Find::name) or die "Cannot write to file $!"; print OUT $f; close OUT; chmod 0444, $File::Find::name; } }[/quote] thanks kreij
     
    Hybrid_theory, Oct 20, 2023
    #4
Thema:

Copying files into WindowsApps directory

Loading...
  1. Copying files into WindowsApps directory - Similar Threads - Copying files WindowsApps

  2. Copying files into WindowsApps directory

    in Windows 10 Network and Sharing
    Copying files into WindowsApps directory: Hello, I want to copy some files into game directory in WindowsApps, but firstly I have access denied, so I have changed permission for every user. Now I have got access to that directory, but I cannot copy any files into it. Everytime it says that I don't have right...
  3. Copying files into WindowsApps directory

    in Windows 10 Software and Apps
    Copying files into WindowsApps directory: Hello, I want to copy some files into game directory in WindowsApps, but firstly I have access denied, so I have changed permission for every user. Now I have got access to that directory, but I cannot copy any files into it. Everytime it says that I don't have right...
  4. WindowsApps directory access denied?

    in AntiVirus, Firewalls and System Security
    WindowsApps directory access denied?: I found what I thought might be a suspicious background process and wanted to investigate it. Install directory was C:\Program Files\WindowsAppsWhen attempting to can access it gave me a "Permission Denied Error". I am the administrator of this system, I was re-installed by...
  5. WindowsApps directory access denied?

    in Windows 10 Gaming
    WindowsApps directory access denied?: I found what I thought might be a suspicious background process and wanted to investigate it. Install directory was C:\Program Files\WindowsAppsWhen attempting to can access it gave me a "Permission Denied Error". I am the administrator of this system, I was re-installed by...
  6. WindowsApps directory access denied?

    in Windows 10 Software and Apps
    WindowsApps directory access denied?: I found what I thought might be a suspicious background process and wanted to investigate it. Install directory was C:\Program Files\WindowsAppsWhen attempting to can access it gave me a "Permission Denied Error". I am the administrator of this system, I was re-installed by...
  7. Unable to delete Windowsapp Directory

    in Windows 10 Ask Insider
    Unable to delete Windowsapp Directory: I use RAID0 drive for installing programs and games. Somehow Windows store installed 2 directories of Halo collection in the Windowsapp directory, one with older version and another one for newest version. I uninstalled the game for now and was trying to delete the other...
  8. Unable to copy into 'C:\Program Files\WindowsApps'

    in Windows 10 Network and Sharing
    Unable to copy into 'C:\Program Files\WindowsApps': I need to be able to copy some files into WindowsApps to modify items downloaded from the windows store. However, I keep getting an error as below: Destination Folder Access Denied [ATTACH] I am logged in as an administrator, I have taken ownership and 'full control'...
  9. Copying files into WindowsApps directory

    in Windows 10 Network and Sharing
    Copying files into WindowsApps directory: Hello, I want to copy some files into game directory in WindowsApps, but firstly I have access denied, so I have changed permission for every user. Now I have got access to that directory, but I cannot copy any files into it. Everytime it says that I don't have right...
  10. File History Not Copying All Files and Directories

    in Windows 10 Installation and Upgrade
    File History Not Copying All Files and Directories: I have windows 10 version 1803, and noticed today that the directory structure set up on my external hard drive by File History is different to the directory structure it is supposed to be copying across, in that there are many sub-directories missing. Some of the missing...