Windows 10: Is MS copying operating system files and directories - related to users directory to the cloud

Discus and support Is MS copying operating system files and directories - related to users directory to the cloud in Windows 10 Software and Apps to solve the problem; Hi,It is the second time that I noticed that my user files were transferred to the cloud.I did not do it and I do not want it.What can I do to prevents... Discussion in 'Windows 10 Software and Apps' started by MichaelAlbry, Sep 15, 2022.

  1. Is MS copying operating system files and directories - related to users directory to the cloud


    Hi,It is the second time that I noticed that my user files were transferred to the cloud.I did not do it and I do not want it.What can I do to prevents this from happening?Thank you

    :)
     
    MichaelAlbry, Sep 15, 2022
    #1
  2. Kreij Win User

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

    As the domain user (I'm assuming you are not Fred) can you do to a subdirectory of Fred and just do a copy and paste of a file out of the directory?
     
    Kreij, Sep 15, 2022
    #2
  3. Script can copy file directory in one spot but not the other

    On drive E: on a Windows Server, I have directory "test". And then maybe 4 more directories down I have directory "fred". My script runs in a different tree under test. It points a to the fred directory which contains files, and sub directories with files. The script looks for files with a certain extension, makes a backup of them, then edits the original files. Now this works for all of the files directly in the "fred" directory. But the files in any of the sub directories of fred, give an issue with copying the file. As a test, I copied fred and all its contents to E:\. I adjusted the script to look at E:\Fred, and everything worked fine. The originals were copied, and edited as expected.

    I compared permissions between E:\Fred and E:\test\..\..\..\fred. they're basically the same. They both have a checkmark in read only(which only resets itself after i uncheck it). The only minor difference was that E:\test\..\..\..\fred didnt have a couple of special permissions for the Users group. This involved, modify, dir traversal, read and execute. I gave those permissions but still no luck.
     
    Hybrid_theory, Sep 15, 2022
    #3
  4. Is MS copying operating system files and directories - related to users directory to the cloud

    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, Sep 15, 2022
    #4
Thema:

Is MS copying operating system files and directories - related to users directory to the cloud

Loading...
  1. Is MS copying operating system files and directories - related to users directory to the cloud - Similar Threads - copying operating system

  2. How to find files in sub-directories and copy to a specific root directory automatically?

    in Windows 10 Gaming
    How to find files in sub-directories and copy to a specific root directory automatically?: Hello all and Happy New Year in advance,I have a root folder containing over a hundred folders, that have at least one level sub-folders themselves. Most of the folders contain a file of FILE type no extension somewhere in their structure, generally in a sub-folder.I want to...
  3. How to find files in sub-directories and copy to a specific root directory automatically?

    in Windows 10 Software and Apps
    How to find files in sub-directories and copy to a specific root directory automatically?: Hello all and Happy New Year in advance,I have a root folder containing over a hundred folders, that have at least one level sub-folders themselves. Most of the folders contain a file of FILE type no extension somewhere in their structure, generally in a sub-folder.I want to...
  4. Copying files into WindowsApps directory

    in Windows 10 Gaming
    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...
  5. 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...
  6. 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...
  7. Is MS copying operating system files and directories - related to users directory to the cloud

    in Windows 10 Network and Sharing
    Is MS copying operating system files and directories - related to users directory to the cloud: Hi,It is the second time that I noticed that my user files were transferred to the cloud.I did not do it and I do not want it.What can I do to prevents this from happening?Thank you...
  8. Is MS copying operating system files and directories - related to users directory to the cloud

    in Windows 10 Gaming
    Is MS copying operating system files and directories - related to users directory to the cloud: Hi,It is the second time that I noticed that my user files were transferred to the cloud.I did not do it and I do not want it.What can I do to prevents this from happening?Thank you...
  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...