Windows 10: Accessing NAS from task scheduler to run under SYSTEM

  1. Posts : 480
    Win10 x64 Pro -2 desktops, 1 laptop
       22 Jun 2018 #1

    Accessing NAS from task scheduler to run under SYSTEM

    I'm trying determine if a (non-Microsoft) product creates a security exposure. In order to do this I need to run a task under "NT AUTHORITY\SYSTEM". My first step was to create a task that accesses a public share on NAS and schedule it to run under SYSTEM. (I'm not really interested in access to the public share, but I needed to make sure the task works before worrying about network credentials.) My test is to perform an RCOPY of a directory from the public share to a local drive. The RCOPY uses the UNC rather than a drive letter.

    I get "ERROR 58 (0x0000003A) Accessing Source Directory \\<server name>\Public\Test\Data\
    The specified server cannot perform the requested operation."

    If I run the task under my own id I have no problem so I know it's not the server's fault. I am not using "Run with highest authority" under either id (if that matters).

    Any idea why access to a public share would fail?
      My ComputerSystem Spec

  2.    22 Jun 2018 #2

    I assume your name is register with the NAS but system isnt
      My ComputerSystem Spec

  3. Posts : 480
    Win10 x64 Pro -2 desktops, 1 laptop
    Thread Starter
       22 Jun 2018 #3

    Samuria said: View Post
    I assume your name is register with the NAS but system isnt
    I don't understand. For a public share there is no userid/password involved in the access. I don't know if that needs if no network credentials are given or than any network credentials are accepted. I assume the latter but I don't know. In either case I would think the access should succeed ... but it doesn't.
      My ComputerSystem Spec

  4. storageman's Avatar
    Posts : 436
    Windows 10 Pro 1803 17134.137
       22 Jun 2018 #4

    With out knowing which PUBLIC SHARE you are using, its hard to determine. Publish the NAS Share ! We will try to figure it out ?
      My ComputersSystem Spec

  5. Posts : 480
    Win10 x64 Pro -2 desktops, 1 laptop
    Thread Starter
       22 Jun 2018 #5

    If by "Publish the NAS Share" you mean will I tell you the IP address and/or DNS name of the NAS, I'd be glad to.

    Of course, that's a private IP address and the default host name for a Western Digital MyCloud NAS. If you can find such an address or name it's going to be for a local device on your own LAN. And if that NAS of yours has a public share defined on it, it will use the same lack of network credentials as mine. Lucky you!

    Now that you have all of that highly sensitive private information maybe you will be able to figure this out.
      My ComputerSystem Spec


Related Threads
I'm wanting to mute my system volume at 10:00 PM each night and unmute at 9:00 AM every day. I installed Volume Concierge but for some reason it's not working. I've never used Task Scheduler before but decided to give it a try by following...
I am using a program called ThrottleStop to undervolt my laptop. I have configured it via Task Scheduler to launch minimized at the log on of any user. Is there any way to launch it with the icon hidden in the system tray, similar to how Windows...
Solved How do I re-create (restore) a task in Task Scheduler? in User Accounts and Family Safety
Once Windows 10 got itself updated to the Anniversary edition, I noticed there was some problem with the Family Safety feature - namely, whenever my kids asked me for a remote extension of the time limit, and I granted it, it simply wouldn't push...
Is there a way to make the "Command Prompt" window show when I have a task running in Windows task Scheduler? I would like to be able to view the progress of the task. For example, I have a program called "Zap2xml" that collects TV EPG data. It...
My issue is kind of strange. I am an insider currently on Windows 10 build 10240. All the build I have tried so far has this same error in task scheduler when I change my time zone to my current location which is kathmandu (UTC+5:45). When i change...
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 20:46.
Find Us