How do I change Windows Service environment path

Posted by rs on Stack Overflow See other posts from Stack Overflow or by rs
Published on 2010-03-30T09:15:43Z Indexed on 2010/03/30 9:23 UTC
Read the original article Hit count: 308

I need to change thw environment variable Environment.GetEnvironmentVariable("TMP") for a Windows service in .NET 2.0 that is running with its own user account. The server is a Windows Server 2003, SP2. Can anybody tell me how to change the Windows environment variable for that user?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about environment-variables