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 8247097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:43:44+00:00 2026-06-07T22:43:44+00:00

We execute a script from a webservice that does some actions in VBScript. This

  • 0

We execute a script from a webservice that does some actions in VBScript. This script runs from the command line without an error. When we run this script from a service with ProcessStartInfo it does not execute when the user the process is running in is not logged in. We get this error: CScript Error: Loading your settings failed. (Access is denied. ) Though, when the user that executes the service is logged in via remote desktop, the service is running successfully. What could cause this and how could we solve this?

  • 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-06-07T22:43:46+00:00Added an answer on June 7, 2026 at 10:43 pm

    What user identity is the VBScript being run under when you get the “Access is denied” message? I’ll bet it’s NT AUTHORITY\NETWORK SERVICE, which might explain it.

    When you run anything when logged-in by cmd or double-clicking in Explorer then the process runs under the user identity (security context) of the current user. When you’re running it outside of a local console session (such as a service session) then it usually runs under the user identity of the parent service process.

    By “service” are you referring to a Windows Service (what you see in Services.msc) or your web-service? If it’s a web-service then it’s run under the user identity of the current IIS Application Pool.

    Try running “whoami” (it’s a command-line program) from your web-service script and have it redirect the console output to a file. That will tell you the current user identity you’re using.

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

Sidebar

Related Questions

How can I execute a command line from within a WiX script? I want
So I am trying to execute some script from my php code. That lives
I'd like to execute a shell command starting a long-running script from node and
Can I execute a program from a JScript script in such a way that
How do I execute an output piped from a bash script? I got this
I am trying to execute, from a python3 script, Unix commands that looks like
TextMate has a nice feature that allows you to execute a script from within
How to Execute VB Script from VC++ and pass parameters to that VB Script
I have a certain PHP script that calls exec() to execute a command to
I have a script that pulls some data from a web service and populates

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.