"Access is denied" error when running schtasks.exe under ASPNET account in win2k3 server

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default "Access is denied" error when running schtasks.exe under ASPNET account in win2k3 server

    Hi all,

    I am trying to run schtasks.exe from asp.net application wich uses forms
    authentication under ASPNET account.
    It gives me "Access is denied" error message.
    OS: Windows 2003 server with IIS 6.0

    Info:
    I am able to run the same command line manually using Administrator's
    account on Windows 2003 server.
    I am able to run the same command line programmatically on Windows 2000
    Professional under ASPNET account.
    Impersonation is disabled.
    The password for ASPNET is set and being used in schtasks.exe command line.
    I am able to run other command line apps (like gpg.exe) programmatically on
    on Windows 2003 server using ASPNET account.
    The filesystem privileges are set to allow ASPNET user full control.
    The registry privileges allow ASPNET user to access registry.
    ASPNET is a memeber of Administrators group


    Could you please give me an idea on what else should I check?

    Thanks a lot,

    Yehuda Vernik


    Yehuda Vernik Guest

  2. Similar Questions and Discussions

    1. Error "creating file: 1008:5, -5000 Access Denied Error"
      I'm unable to install Flash Player 9 in OS X (10.4.8). I followed the following tech note: http://www.adobe.com/go/4aa64290 * I uninstalled Flash...
    2. "Access Denied" Error After Server Change
      I have a number of hosting clients that use Contribute. Since I upgraded my hosting server, they are unable to connect - or more accurately, they...
    3. "Server does not exist or access is denied"
      Hi, I am trying to connect a web service to an SQL Server 2000 database. SQL Server is installed and started and the database appears on the...
    4. HELP! "Access is denied to this object." - Server object error 'ASP 0178 : 80070005'
      Hi, When I try to do Server.CreateObject on an activeX DLL, I receive the following message: ''''''''''''''''''''''' Server object error 'ASP...
    5. Error: "Unable to debug on server,Access is denied"
      I installed dotnet and when i try to run a web application i get the error messagebox saying "Unable to debug on server,Access is denied.Would you...
  3. #2

    Default Re: "Access is denied" error when running schtasks.exe under ASPNET account in win2k3 server

    On Tue, 19 Oct 2004 12:02:23 -0400, "Yehuda Vernik" <yvernik@plusfunds.com> wrote:

    ¤ Hi all,
    ¤
    ¤ I am trying to run schtasks.exe from asp.net application wich uses forms
    ¤ authentication under ASPNET account.
    ¤ It gives me "Access is denied" error message.
    ¤ OS: Windows 2003 server with IIS 6.0
    ¤
    ¤ Info:
    ¤ I am able to run the same command line manually using Administrator's
    ¤ account on Windows 2003 server.
    ¤ I am able to run the same command line programmatically on Windows 2000
    ¤ Professional under ASPNET account.
    ¤ Impersonation is disabled.
    ¤ The password for ASPNET is set and being used in schtasks.exe command line.
    ¤ I am able to run other command line apps (like gpg.exe) programmatically on
    ¤ on Windows 2003 server using ASPNET account.
    ¤ The filesystem privileges are set to allow ASPNET user full control.
    ¤ The registry privileges allow ASPNET user to access registry.
    ¤ ASPNET is a memeber of Administrators group
    ¤
    ¤
    ¤ Could you please give me an idea on what else should I check?
    ¤

    Windows 2003 Server uses an account called NetworkService instead of ASPNET.


    Paul ~~~ [email]pclement@ameritech.net[/email]
    Microsoft MVP (Visual Basic)
    Paul Clement Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139