Windows 10: access denied to .BAT file

Discus and support access denied to .BAT file in Windows 10 Installation and Upgrade to solve the problem; I did a clean install of 1809 as I was having some issues no one had an answer for. In the process 1903 was released so I updated. I had to reinstall... Discussion in 'Windows 10 Installation and Upgrade' started by ruggb, May 26, 2019.

  1. ruggb Win User

    access denied to .BAT file


    I did a clean install of 1809 as I was having some issues no one had an answer for.

    In the process 1903 was released so I updated.

    I had to reinstall a program that was working in 1809.

    It is run inside a BAT file that first accesses my NAS to copy data files.

    The BAT file is getting an ACCESS DENIED error when attempting the copy.

    The BAT file has not changed.

    The BAT file is run as admin.

    I can access the NAS via File Explorer and Office 16 programs (Excel).

    I can access the NAS via the web.

    I have created a Windows certificate for the NAS.

    The file locations on the NAS have not changed.


    How do I make this work again?

    :)
     
    ruggb, May 26, 2019
    #1
  2. RUP
    Rup Win User

    Cannot run BAT file with Task Scheduler "Access Denied".


    Hi all.

    I am learning some basic batch scripting and I've created a file with the following code:

    access denied to .BAT file [​IMG]


    All this does is move various file types to various folders to clean up my desktop.
    If I click on the .bat file directly it works great. But if I try to run it from task scheduler I get:


    access denied to .BAT file [​IMG]


    Here are my settings:

    access denied to .BAT file [​IMG]


    access denied to .BAT file [​IMG]


    access denied to .BAT file [​IMG]


    access denied to .BAT file [​IMG]


    access denied to .BAT file [​IMG]


    I tried using the "run weather user is logged on or not" and with/without "highest privileges". Im using my default account on my computer which is the administrator account.

    I am using Windows 10 Pro.

    access denied to .BAT file [​IMG]
     
  3. Access denied to zip file

    Hi Stephanie,

    The issue that you're experiencing may be due to a corrupted user profile. We have found a workaround regarding the "Access denied" error. Kindly follow the steps below.

    • Press Windows key + E to open File Explorer.
    • Copy the files that you want to zip.
    • Paste it in the Downloads folder.
    • From there, zip your file. You may follow the steps provided in this
      article
      .

    Feel free to contact us if you need assistance with Windows.
     
    Dennis Mop, May 26, 2019
    #3
  4. DrPepper Win User

    access denied to .BAT file

    Denied access to files

    Ok I got a pc in from a friend and he wants me to fix it, it doesn't boot up properly so I was thinking reinstall windows but first I have to save all his songs and crap. First problem it denies me access to the files on his HDD when it is hooked up to my pc .... damn. Second problem is that it is a very, very old pc nforce 2 chipset and I can't ID the board so I can't get the drivers. It won't turn on so I can't check it that way any ideas.
     
    DrPepper, May 26, 2019
    #4
Thema:

access denied to .BAT file

Loading...
  1. access denied to .BAT file - Similar Threads - access denied BAT

  2. Access to file denied

    in Windows 10 Gaming
    Access to file denied: Files from previous account held in new account but access denied https://answers.microsoft.com/en-us/windows/forum/all/access-to-file-denied/68d6af4c-32bd-4077-885c-45af79360b2e
  3. Access to file denied

    in Windows 10 Software and Apps
    Access to file denied: Files from previous account held in new account but access denied https://answers.microsoft.com/en-us/windows/forum/all/access-to-file-denied/68d6af4c-32bd-4077-885c-45af79360b2e
  4. File Saving Access Denied

    in Windows 10 Software and Apps
    File Saving Access Denied: I can't save files to my C: drive, says Access Denied, you don't have permission to save files to this folder. How do I correct this, as my laptop worked fine one day and then can't save files the next day?...
  5. File Access Denied

    in Windows 10 Network and Sharing
    File Access Denied: I am trying to add a comment to a URL shortcut on my desktop. So, I right click the file, choose Properties, then Details. I fill in the Description field. I hit Apply and get: File Access Denied - You'll need to provide administrator permission to apply properties to this...
  6. denied access to my files

    in Windows 10 Network and Sharing
    denied access to my files: What are the crosses that deny access to my files in explorer. How do I get rid of them so that I can open my files? https://answers.microsoft.com/en-us/windows/forum/all/denied-access-to-my-files/b9b8317e-8ffc-4602-ad09-8d464d219189
  7. Administrator denied access to files

    in Windows 10 Software and Apps
    Administrator denied access to files: I'm having issues with installing iTunes. The previous iTunes libraries will not open as it says I don't have permissions. I've tried to change permissions and I have to have authority to do that. How do I fix this? Debbie...
  8. Access denied to folders and files

    in Windows 10 Support
    Access denied to folders and files: Runnin win 10 since 2 weeks. Trying to copy all files from external HD to new second internal HD. some files copied no problem, other files and folders will either not copy (administrator rights) or are outright "access denied". All are films, no programs. I got full...
  9. File Access Denied

    in Windows 10 Support
    File Access Denied: I get the following message when I try to 'save, 'save as' or 'paste': File Access Denied You require permission from Unix User\nobody to make changes to this file. I have no idea was to what causes this nor have I made any security changes. Any ideas? 29590
  10. Cannot run BAT file with Task Scheduler "Access Denied".

    in Windows 10 Support
    Cannot run BAT file with Task Scheduler "Access Denied".: Hi all. I am learning some basic batch scripting and I've created a file with the following code: [img] All this does is move various file types to various folders to clean up my desktop. If I click on the .bat file directly it works great. But if I try to run it...