I am planning on having a Windows Scheduled Task execute a Console Application. The application needs to be able to access certain mapped drives that only specific users have Read/Write access to. How can I make sure that when the Windows Scheduler runs the executable, the executable is run under the correct user credentials? Or am I going about this all wrong in the first place?
Environment: Server 2008 R2, .NET FW v4.5, C#