Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 510683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:08:20+00:00 2026-05-13T07:08:20+00:00

I have a Windows service running in local system that simply keeps trying to

  • 0

I have a Windows service running in local system that simply keeps trying to access a file with a UNC path of the form \\machine\folder\file.txt until it succeeds. It succeeds immediately when I start the service manually, but on reboot it gets System Error 53 (Network Path not found) until I do something such as logoff or “fiddle” with Windows Explorer such as double-clicking an unrelated text file (weird, I know). But there is no reliable trick; I am not sure what triggers it to suddenly be able to see the shared folder.

However, I chanced upon an apparently reliable “solution,” which is to attempt a CreateProcess on “net use I: \\machine\folder” from within the service to map the shared folder before attempting to access it (I continue using the UNC path, not I:). The net use call appears to immediately trigger my ability to access the shared folder from the service despite the fact that the net use call itself probably fails (I haven’t checked because you’re not even supposed to be able to map drives from a service).

This sounds similar to database connection doesn’t work when service starts at boot but works when it’s manually started but in my case it is a network shared folder, plus I know it can also suddenly just start working under the circumstances described above.

I don’t think this is a permissions issue because it demonstrates full access capabilities on the shared folder when it succeeds in gaining access. But I would like to know the reason so I can handle it properly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:08:20+00:00Added an answer on May 13, 2026 at 7:08 am

    The LocalSystem account does not have an actual login or password and so will attempt to connect to the share with computer credentials if on a domain, else anonymously. For this to work, the share will need to allow access to the computer account (usually the hostname with $ appended) or allow guest access with no password.

    A better practice would probably be to create a new domain account for the service to run in, and set permissions appropriately for the new account.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a system service running on my Windows machine that can impersonate the
I have a windows service application that runs as Local System, and I want
I have a batch file I'm running from a Windows XP w/service pack 3
I am creating a named pipe in windows service running on local system account
I have a Windows Service that does the following when started. When running via
Is it possible for a C# Windows service running as Local System or Local
I have a Windows service (under WinXP SP2), running under the LocalSystem account, that
Having an issue with a Windows service that needs to monitor/have access to a
I have created a Windows service that will run an exe file periodically to
I have a WCF service running under a service user on my local system.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.