Accessing Network Drives when using Running as Administrator

Home » General Topics » Accessing Network Drives when using Running as Administrator
Photograph of engineers tools

I always run Visual Studio in Administrator mode, as outlined in a blog post from 2016 titled Running Visual Studio as Administrator.

This is fine in most circumstances, but it can be a pain trying to access network drives when running as Administrator. I recently had a Console App for example which accessed documents on a network share. Its difficult to turn off run as administrator in Visual Studio.

I googled a possible answer, and found the following article: http://www.winability.com/how-to-make-elevated-programs-recognize-network-drives/

The long and short of it is you need a new registry key, and then after setting it, reboot your computer.

About Phil

I have been working as a software developer since 1983. This blog could have been called "From Fortran 77, C and Cobol to C# in 20 (not so) easy years", but it doesn't sound quite right somehow. Besides I'm talking about what's happened since 2003, not before!

Leave a Reply

Your email address will not be published.


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">




Top Posts & Pages

Categories

Recent Posts

Recent Comments

Archives

Blogroll

  • Mike Cohn's Blog
  • Scott Hanselman's Blog
- mike@mountaingoatsoftware.com

Being a great product owner is hard. Here are the things your team wants from you to help them do th [...]

- mike@mountaingoatsoftware.com

Want to learn about Kanban? Here’s a complete guide to introducing Kanban into your organization. [...]

- mike@mountaingoatsoftware.com

Lack of communication is a common problem that causes delays, rework, or adds risk. See how Kanban “ [...]

- mike@mountaingoatsoftware.com

It’s easy to say you limit how much work you’ll have in process. It’s harder to live up to it, espec [...]

- mike@mountaingoatsoftware.com

You told me you have questions about Kanban. Here are some answers from Kanban expert, Brendan Wovch [...]

- Scott Hanselman

I love my Nintendo Switch. It's a brilliant console that fits into my lifestyle. I use it on pl [...]

- Scott Hanselman

I was fortunate to be a guest on Steve Carroll's talk show "Careers Behind the Code," [...]

- Scott Hanselman

I've been talking about it for months, but in case you haven't heard, there's a new W [...]

- Scott Hanselman

I posted recently about What's the difference between a console, a terminal, and a shell? The w [...]

- Scott Hanselman

Earlier this week I announced over 80 new free videos in our .NET Core 3.0 launch video series - Ann [...]

Meta