<processModel>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matt Sollars

    #1

    <processModel>

    Hi, all. I was recently told about changing the <processModel > tag in the
    machine.config to allow the ASP.NET worker process to run as a system user.
    It was supposed to clear up a problem I was having. I didn't want to do this
    on a production server due to the security risks involved, but I did test
    the theory on my local development machine. The problem went away, as
    promised. However, I am now stuck with that change.

    I reverted the <processModel > userName attribute back to "machine". I
    restarted IIS. Yet, ASP.NET still runs as a system user. I can even write to
    a file on the root of the C-drive from a web page. I've rebooted the
    computer as well. Still, my web apps have full priviledges.

    Can anyone tell me how I can revert my computer back to using the machine
    (ASPNET) user account, as it once did?

    Thank you in advance.

    --
    Matt Sollars
    matt@hypersite. net
    -------------------
    The Hypersite Network
    2002 N. Salisbury Blvd.
    Suite C
    Salisbury, Maryland 21801
    T: 410.749.2000
    F: 410.219.3400
    Official website of HyperSite. Premium web hosting services, domain registration, cloud infrastructure, and reliable website management solutions.



  • Chris Jackson

    #2
    Re: &lt;processMode l&gt;

    You may need to kill off the aspnet_wp process, which is independent of IIS,
    in order to get the changes to "take."

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    --
    "Matt Sollars" <matt@hypersite .net> wrote in message
    news:%23rhZfqbZ DHA.1620@TK2MSF TNGP12.phx.gbl. ..[color=blue]
    > Hi, all. I was recently told about changing the <processModel > tag in the
    > machine.config to allow the ASP.NET worker process to run as a system[/color]
    user.[color=blue]
    > It was supposed to clear up a problem I was having. I didn't want to do[/color]
    this[color=blue]
    > on a production server due to the security risks involved, but I did test
    > the theory on my local development machine. The problem went away, as
    > promised. However, I am now stuck with that change.
    >
    > I reverted the <processModel > userName attribute back to "machine". I
    > restarted IIS. Yet, ASP.NET still runs as a system user. I can even write[/color]
    to[color=blue]
    > a file on the root of the C-drive from a web page. I've rebooted the
    > computer as well. Still, my web apps have full priviledges.
    >
    > Can anyone tell me how I can revert my computer back to using the machine
    > (ASPNET) user account, as it once did?
    >
    > Thank you in advance.
    >
    > --
    > Matt Sollars
    > matt@hypersite. net
    > -------------------
    > The Hypersite Network
    > 2002 N. Salisbury Blvd.
    > Suite C
    > Salisbury, Maryland 21801
    > T: 410.749.2000
    > F: 410.219.3400
    > http://www.hypersite.net
    >
    >[/color]


    Comment

    • Chris Jackson

      #3
      Re: &lt;processMode l&gt;

      You may need to kill off the aspnet_wp process, which is independent of IIS,
      in order to get the changes to "take."

      --
      Chris Jackson
      Software Engineer
      Microsoft MVP - Windows XP
      Windows XP Associate Expert
      --
      "Matt Sollars" <matt@hypersite .net> wrote in message
      news:%23rhZfqbZ DHA.1620@TK2MSF TNGP12.phx.gbl. ..[color=blue]
      > Hi, all. I was recently told about changing the <processModel > tag in the
      > machine.config to allow the ASP.NET worker process to run as a system[/color]
      user.[color=blue]
      > It was supposed to clear up a problem I was having. I didn't want to do[/color]
      this[color=blue]
      > on a production server due to the security risks involved, but I did test
      > the theory on my local development machine. The problem went away, as
      > promised. However, I am now stuck with that change.
      >
      > I reverted the <processModel > userName attribute back to "machine". I
      > restarted IIS. Yet, ASP.NET still runs as a system user. I can even write[/color]
      to[color=blue]
      > a file on the root of the C-drive from a web page. I've rebooted the
      > computer as well. Still, my web apps have full priviledges.
      >
      > Can anyone tell me how I can revert my computer back to using the machine
      > (ASPNET) user account, as it once did?
      >
      > Thank you in advance.
      >
      > --
      > Matt Sollars
      > matt@hypersite. net
      > -------------------
      > The Hypersite Network
      > 2002 N. Salisbury Blvd.
      > Suite C
      > Salisbury, Maryland 21801
      > T: 410.749.2000
      > F: 410.219.3400
      > http://www.hypersite.net
      >
      >[/color]


      Comment

      • Matt Sollars

        #4
        Re: &lt;processMode l&gt;

        Hi, Chris:

        Thanks for the reply.

        Shouldn't rebooting the computer (several times) take care of that?

        Matt

        "Chris Jackson" <chrisj@mvps.or g> wrote in message
        news:etSeF0bZDH A.3248@tk2msftn gp13.phx.gbl...
        You may need to kill off the aspnet_wp process, which is independent of IIS,
        in order to get the changes to "take."

        --
        Chris Jackson
        Software Engineer
        Microsoft MVP - Windows XP
        Windows XP Associate Expert
        --


        Comment

        • Matt Sollars

          #5
          Re: &lt;processMode l&gt;

          Hi, Chris:

          Thanks for the reply.

          Shouldn't rebooting the computer (several times) take care of that?

          Matt

          "Chris Jackson" <chrisj@mvps.or g> wrote in message
          news:etSeF0bZDH A.3248@tk2msftn gp13.phx.gbl...
          You may need to kill off the aspnet_wp process, which is independent of IIS,
          in order to get the changes to "take."

          --
          Chris Jackson
          Software Engineer
          Microsoft MVP - Windows XP
          Windows XP Associate Expert
          --


          Comment

          • MS News \(MS ILM\)

            #6
            Re: &lt;processMode l&gt;

            Are you sure you are modifying the correct machine.config ??
            YES: If you have two frameworks 1.0 and 1.1 then each framework will have
            its own machine.config.
            check that out
            is it cached?
            doublicate your machine.config and name the old one xxxmachine.conf ig
            rename the Copy of machine.config to machine.config
            what happens??


            "Matt Sollars" <matt@hypersite .net> wrote in message
            news:eV995BcZDH A.2020@TK2MSFTN GP10.phx.gbl...[color=blue]
            > Hi, Chris:
            >
            > Thanks for the reply.
            >
            > Shouldn't rebooting the computer (several times) take care of that?
            >
            > Matt
            >
            > "Chris Jackson" <chrisj@mvps.or g> wrote in message
            > news:etSeF0bZDH A.3248@tk2msftn gp13.phx.gbl...
            > You may need to kill off the aspnet_wp process, which is independent of[/color]
            IIS,[color=blue]
            > in order to get the changes to "take."
            >
            > --
            > Chris Jackson
            > Software Engineer
            > Microsoft MVP - Windows XP
            > Windows XP Associate Expert
            > --
            >
            >[/color]


            Comment

            • MS News \(MS ILM\)

              #7
              Re: &lt;processMode l&gt;

              Are you sure you are modifying the correct machine.config ??
              YES: If you have two frameworks 1.0 and 1.1 then each framework will have
              its own machine.config.
              check that out
              is it cached?
              doublicate your machine.config and name the old one xxxmachine.conf ig
              rename the Copy of machine.config to machine.config
              what happens??


              "Matt Sollars" <matt@hypersite .net> wrote in message
              news:eV995BcZDH A.2020@TK2MSFTN GP10.phx.gbl...[color=blue]
              > Hi, Chris:
              >
              > Thanks for the reply.
              >
              > Shouldn't rebooting the computer (several times) take care of that?
              >
              > Matt
              >
              > "Chris Jackson" <chrisj@mvps.or g> wrote in message
              > news:etSeF0bZDH A.3248@tk2msftn gp13.phx.gbl...
              > You may need to kill off the aspnet_wp process, which is independent of[/color]
              IIS,[color=blue]
              > in order to get the changes to "take."
              >
              > --
              > Chris Jackson
              > Software Engineer
              > Microsoft MVP - Windows XP
              > Windows XP Associate Expert
              > --
              >
              >[/color]


              Comment

              • Ken Cox [Microsoft MVP]

                #8
                Re: &lt;processMode l&gt;

                I've seen people mistake the syntax comments about processModel for the actual
                node. Not saying you changed it back in the wrong place, but it might be worth
                a check. Also, if you're running .Net 1.0 and 1.1 you'll want to be sure you
                dealing with the correct machine.config each time.


                --
                Microsoft MVPs have a question for *you*: Are you patched against the Worm?
                http://www.microsoft.com/security/se...s/ms03-026.asp



                "Matt Sollars" <matt@hypersite .net> wrote in message
                news:%23rhZfqbZ DHA.1620@TK2MSF TNGP12.phx.gbl. ..
                Hi, all. I was recently told about changing the <processModel > tag in the
                machine.config to allow the ASP.NET worker process to run as a system user.
                It was supposed to clear up a problem I was having. I didn't want to do this
                on a production server due to the security risks involved, but I did test
                the theory on my local development machine. The problem went away, as
                promised. However, I am now stuck with that change.

                I reverted the <processModel > userName attribute back to "machine". I
                restarted IIS. Yet, ASP.NET still runs as a system user. I can even write to
                a file on the root of the C-drive from a web page. I've rebooted the
                computer as well. Still, my web apps have full priviledges.

                Can anyone tell me how I can revert my computer back to using the machine
                (ASPNET) user account, as it once did?

                Thank you in advance.

                --
                Matt Sollars
                matt@hypersite. net
                -------------------
                The Hypersite Network
                2002 N. Salisbury Blvd.
                Suite C
                Salisbury, Maryland 21801
                T: 410.749.2000
                F: 410.219.3400
                Official website of HyperSite. Premium web hosting services, domain registration, cloud infrastructure, and reliable website management solutions.




                Comment

                • Ken Cox [Microsoft MVP]

                  #9
                  Re: &lt;processMode l&gt;

                  I've seen people mistake the syntax comments about processModel for the actual
                  node. Not saying you changed it back in the wrong place, but it might be worth
                  a check. Also, if you're running .Net 1.0 and 1.1 you'll want to be sure you
                  dealing with the correct machine.config each time.


                  --
                  Microsoft MVPs have a question for *you*: Are you patched against the Worm?
                  http://www.microsoft.com/security/se...s/ms03-026.asp



                  "Matt Sollars" <matt@hypersite .net> wrote in message
                  news:%23rhZfqbZ DHA.1620@TK2MSF TNGP12.phx.gbl. ..
                  Hi, all. I was recently told about changing the <processModel > tag in the
                  machine.config to allow the ASP.NET worker process to run as a system user.
                  It was supposed to clear up a problem I was having. I didn't want to do this
                  on a production server due to the security risks involved, but I did test
                  the theory on my local development machine. The problem went away, as
                  promised. However, I am now stuck with that change.

                  I reverted the <processModel > userName attribute back to "machine". I
                  restarted IIS. Yet, ASP.NET still runs as a system user. I can even write to
                  a file on the root of the C-drive from a web page. I've rebooted the
                  computer as well. Still, my web apps have full priviledges.

                  Can anyone tell me how I can revert my computer back to using the machine
                  (ASPNET) user account, as it once did?

                  Thank you in advance.

                  --
                  Matt Sollars
                  matt@hypersite. net
                  -------------------
                  The Hypersite Network
                  2002 N. Salisbury Blvd.
                  Suite C
                  Salisbury, Maryland 21801
                  T: 410.749.2000
                  F: 410.219.3400
                  Official website of HyperSite. Premium web hosting services, domain registration, cloud infrastructure, and reliable website management solutions.




                  Comment

                  Working...