I know in a general way what I need to do but not exactly how to get there and do it
Unless their is a reason that this could be problematic, it will definitely fix something instantly untili canget to the User to do a better job.
This is a situation that has begun to appear often in Windows 10, usually on older systems that were upgraded but sometimes on new Windows 10 laptops. When it happens, I need to be able to tell the user to click a .bat or .reg file that would set everything to PRIVATE until I can get to their station to do it right and find out what caused the problem in the first place. When they are shown using a PUBLIC connection they are blocked from most office networked items like Printers etc.
I won't know the exact profile name to use for their system and if a way can be added to make this change occur only on the WiFi profile currently in use, that would be best.
The wired profiles automatically say Private but on these same systems, connecting their Wired connection does not release the WiFi as it should. Worse, many new laptops no longer provide for a wired network at all.
Code: (text)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
if possible locate the wireless profile currently in use
if not check each profile for a key called category
if there is one set the value 1 for Private
if one does not exist create it and set it to 1
If it was possible to find and set only the active WiFi profile then exit now
if that was not possible continue to the next profile until all are set to PrivateUnless their is a reason that this could be problematic, it will definitely fix something instantly untili canget to the User to do a better job.
This is a situation that has begun to appear often in Windows 10, usually on older systems that were upgraded but sometimes on new Windows 10 laptops. When it happens, I need to be able to tell the user to click a .bat or .reg file that would set everything to PRIVATE until I can get to their station to do it right and find out what caused the problem in the first place. When they are shown using a PUBLIC connection they are blocked from most office networked items like Printers etc.
I won't know the exact profile name to use for their system and if a way can be added to make this change occur only on the WiFi profile currently in use, that would be best.
The wired profiles automatically say Private but on these same systems, connecting their Wired connection does not release the WiFi as it should. Worse, many new laptops no longer provide for a wired network at all.












I am not so "fleet of mind"




