Answered by:
Access windows 10 reg

Question
-
Hi Dear Sir.
I want change firewall registry value, but i cant do this popup the error..
Hear my code, please tell me to solution, can you please give the sample code?
Microsoft.Win32.RegistryKey m_RegEntry = Microsoft.Win32.Registry.LocalMachine;
m_RegEntry = m_RegEntry.OpenSubKey(@"SYSTEM\CurrentControlSet\Services\MpsSvc",true);
if (m_RegEntry != null)
{
m_RegEntry.SetValue("Start", "4", RegistryValueKind.String);
m_RegEntry.Close();
}Popup Error
Thank You.
- Moved by Richard MuellerMVP, Banned Thursday, September 12, 2019 11:58 AM Not a Forums Issues question
Thursday, September 12, 2019 5:22 AM
Answers
-
This forum is for questions and discussions about the forums themselves. I think that registry setting is related to the Windows Firewall. I would ask here:
https://social.msdn.microsoft.com/Forums/en-us/home?forum=windowssecurity
Richard Mueller - MVP Enterprise Mobility (Identity and Access)
- Proposed as answer by Guido Franzke Thursday, September 12, 2019 12:12 PM
- Marked as answer by Richard MuellerMVP, Banned Thursday, September 19, 2019 1:43 PM
Thursday, September 12, 2019 11:57 AM -
For desktop development you could also try asing for help here.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Thursday, September 12, 2019 12:12 PM
- Marked as answer by Richard MuellerMVP, Banned Thursday, September 19, 2019 1:43 PM
Thursday, September 12, 2019 12:05 PM
All replies
-
For desktop development you could also try asing for help here.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Thursday, September 12, 2019 12:12 PM
- Marked as answer by Richard MuellerMVP, Banned Thursday, September 19, 2019 1:43 PM
Thursday, September 12, 2019 12:05 PM