Accessing NAS from task scheduler to run under SYSTEM


  1. Posts : 720
    Win10 x64 Pro - 2 desktops, 2 laptops
       #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 Computer


  2. Posts : 8,111
    windows 10
       #2

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


  3. Posts : 720
    Win10 x64 Pro - 2 desktops, 2 laptops
    Thread Starter
       #3

    Samuria said:
    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 Computer


  4. Posts : 1,020
    Windows 10 Pro 20H2 19042.572
       #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 Computers


  5. Posts : 720
    Win10 x64 Pro - 2 desktops, 2 laptops
    Thread Starter
       #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.
    192.168.1.142
    WDMYCLOUD

    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 Computer


 

  Related Discussions
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 23:39.
Find Us




Windows 10 Forums