I want to copy file with file.copy() command in my c sharp app to the another computer on a local network running on a windows Server 2012R2 which is Domain member server , but first I should Turn off password protected sharing which I can not find.


where can I find this Option or what should I do instead.

  • 1
    Password protected sharing is a function of a domain and cannot be turned off. – LPChip Jan 17 '17 at 15:32

Well. The problem is Solved by enabling Guest account status in local security policy local policies\Security options.

Sreen Shot of gpedit.msc

  • Yes Inside Security Options Selecting Guest account status to Enabled will works – Ganesh_Devlekar Aug 8 '18 at 13:47
  • This worked for Server 2016 aswell – R2D2 Nov 13 '18 at 8:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.