Windows 10: Allow cmd to run in a protected folder

Discus and support Allow cmd to run in a protected folder in Windows 10 Software and Apps to solve the problem; I have a data file that is accessed by different PC's/Users at different times. The data file is on One Drive. The program that uses the data file... Discussion in 'Windows 10 Software and Apps' started by rpsalty, Aug 15, 2019.

  1. rpsalty Win User

    Allow cmd to run in a protected folder


    I have a data file that is accessed by different PC's/Users at different times. The data file is on One Drive. The program that uses the data file saves automatically but cannot tolerate (for lack of the correct word) the lag time to save to One Drive. I wrote a simple batch file to copy the data file from the One Drive folder to a data folder in My Documents. The batch file pauses while the data file is opened and used on the local drive. When the data file is closed, the batch file resumes and copies the saved data from the local drive to the One Drive folder. At that point the One Drive folder updates the cloud.


    Does allowing cmd.exe to run in the protected folder circumvent the protection should a malicious script use cmd.exe?


    Would a valid work around be to create a folder on the root and not protect it, and run only the batch file from that folder? I am assuming I can still copy to the protected folder since I can do it in explorer.


    Rob

    :)
     
    rpsalty, Aug 15, 2019
    #1
  2. Frogger Win User

    ?? How do I PW protect Folders in windows

    hmmm?
    Sharing files and folders overview You can share the files and folders stored on your computer, on a network, and on the Web. The method you choose depends on whom you want to share files with, and what computer they will use to access the files.

    When you share files or folders, they are not as protected as they are when you do not share them. People with access to your computer or your network might be able to read, copy, or change files that are in a shared folder. You should always be aware that the files and folders that you share are available to other people and be sure to monitor your shared files and folders on a regular basis.

    Important

    If your computer is not joined to a domain, you can use the Network Setup Wizard to automatically turn file and printer sharing on or off. To start the Network Setup Wizard, click Start, click Control Panel, click Network and Internet Connections, and then click Network Setup Wizard.
    If you both use the same computer

    You can put the files you want to share in the Shared Documents folder. Files stored in the Shared Documents folder or its subfolders are always available to other users on your computer.

    Step-by-step procedure
    Note

    If you are connected to a network domain, the Shared Documents, Shared Pictures, and Shared Music folders are not available.
    If both computers are on the same network

    You can share a folder or drive on your computer with others on the network. You can also control whether the files in the shared folder can be modified by other users.

    If your computer is connected to a network domain, use this procedure:

    Step-by-step procedure
    If your computer is connected to a workgroup, use this procedure:

    Step-by-step procedure
    Note

    If you are connected to a network domain, you will need to set the Access control for the folder or drive after sharing it. For more information, go to To set, view, change, or remove file and folder permissions.
    If you want to share your files online

    You can publish pictures and documents on the Web using the Web Publishing Wizard. The files will be stored in a private, online folder that you manage.

    Step-by-step procedure

    If you don't want others to access your files

    You can prevent other users from accessing your folders and the files they contain. When your computer is connected to a domain, this is called setting permissions for your file or folder. When your computer is connected to a workgroup, this is called making your folders private.

    If your computer is connected to a network domain, use this procedure:

    Step-by-step procedure
    If your computer is connected to a workgroup, use this procedure:

    Step-by-step procedure

    'HELP' it can be your friend *Smile Allow cmd to run in a protected folder :)
     
    Frogger, Aug 15, 2019
    #2
  3. Fernandz Win User
    How To Format A Write Protected Flash Memory ?

    ¿You already tried this one?...

    Run CMD


    1. diskpart
    2. list disk

    Then in the 3º step, put the correct number of disk in the list for the usb flash (if it's listed in disk 3, then you'll have to write select disk 3).

    2. select disk #
    3. clean
    4. create partition primary
    5. select partition 1
    6. active
    7. format fs=fat32
    8. assign
    9. exit

    with that commands you will format the flash drive in fat32, if you have a large drive you can select also "format fs=ntfs" in step 7.

    good luck!
     
    Fernandz, Aug 15, 2019
    #3
  4. Anne Ros Win User

    Allow cmd to run in a protected folder

    How do I REMOVE a folder from the list of "Protected folders" (virus&threat protection setting "Protected folders")

    Hi Mörre,

    You can either add or delete a folder in Windows Defender protected folder. To do that, follow the steps below:

    • Open Windows Defender and go Protected folders
      option.
    • Click on the listed folder you want to remove, then click the Remove
      button.
    • Click Yes to continue the deletion. Enter UAC permission when prompted.

    Get back to us if you need further assistance.
     
    Anne Ros, Aug 15, 2019
    #4
Thema:

Allow cmd to run in a protected folder

Loading...
  1. Allow cmd to run in a protected folder - Similar Threads - Allow cmd run

  2. Protected folders

    in Windows 10 Software and Apps
    Protected folders: Recently, Windows Security has been intermittently blocking write access to my "My Documents" folder. It has done it to MS Word and to Nitro PDF Reader but allows access on other occasions.I don't understand why this is a protected folder, in any case, along with my Pictures,...
  3. Need to password-protect a folder from the user but allow the .exe inside to run at startup

    in Windows 10 Ask Insider
    Need to password-protect a folder from the user but allow the .exe inside to run at startup: A friend has asked me to lock down most of his computer with a program called FocusMe to prevent him from being tempted to look at porn. It's a good idea, but he keeps finding loopholes, one of which is that if he's fast enough after restarting the computer he can navigate to...
  4. CMD not running

    in Windows 10 BSOD Crashes and Debugging
    CMD not running: I tried running CMD, and flashes and cloes in a instant in both normal, and run as administrator. I found a help forum which asked to try and run it in a different user account, for some reason this seems to work. However I am still unable to run CMD in the original user...
  5. Open folder with cmd?

    in Windows 10 Network and Sharing
    Open folder with cmd?: Hello I would like to use cmd to open a specific folder in Windows Explorer on Windows 10. Does anyone know how to do that? OOrdner mit cmd öffnen?
  6. Protected folders

    in AntiVirus, Firewalls and System Security
    Protected folders: I have a directory (My Videos) that is protected and the youtube downloader can not access it. I try to remove it from the protected folders list and it will not remove. I do have administrator's permission....
  7. Protected Folders

    in AntiVirus, Firewalls and System Security
    Protected Folders: I uninstalled Windows10UpgraderApp.exe . I received a warning app or process blocked. Protected Folder %desktopdirectory% Blocked by Controlled folder access Would it be okay to allow this. I am not very computer savvy. I have just started using windows defender....
  8. protected folders

    in AntiVirus, Firewalls and System Security
    protected folders: I was curious to know if 13 apps I added to be accepted is too much. In the course of pc-ing, I found some apps wanted access and blocked a program from installing. I googled them and if safe I allowed those. Does 13 seem like a lot of added apps to the protected folders?...
  9. run,cmd not opening

    in Windows 10 Customization
    run,cmd not opening: i opened my start menu and in that i opened windows system in which there is no run and cmd options only taskmanager is present hoe to re insall run and cmd...
  10. Folder Protection

    in Windows 10 Support
    Folder Protection: W10 Home, Excel and Word 2010, VLC. Is it possible for me to have one or two folders in (My) Documents which are protected by a password? Thanks for any replies. 106000

Users found this page by searching for:

  1. allow cmd in folder