Reputation: 2183
I am trying to access a file using impersonation. Everything works fine when the file folder is shared. However when the folder is not shared and try to access the file using absolute path, it does not work.
It works: \\folder\test.txt
It does not work: \\nt9999\d$\folder\test.txt
Thanks for your help.
Upvotes: 0
Views: 376
Reputation: 51339
The D$
share is called an Administrative share, and may be disabled, or the user that you are impersonating may not have access to it.
What error do you get?
Upvotes: 1