I don't want't to do this by going to System Properties - Note that your application will need elevated admin rights in order to be able to modify this key.
You indicate in the comments that you would be happy to modify just the per-user environment.
So your suggestion is to write C application and execute it from my java application?
Can you provide me some example code or link on how to do this?
If either your %systemroot%\SYSVOL\sysvol folder or your %systemroot%\SYSVOL\staging areas folder is located on one of the drives whose letter changes, Distributed File System (DFS) Replication cannot locate these folders.
To solve this problem, you must update the paths that DFS Replication uses to locate these folders.
You also update the registry to change the path to the %systemroot%\SYSVOL\sysvol shared folder that is used by the Netlogon service.
As before, make sure that you broadcast a Yes, using the JNI registry classes.
On the pc with the adapter I can see and access files from the pc attached to the router.
On the pc connected to the router I can see the pc with adapter but when I try to open it I get the message "Windows cannot access //xxxxxxx error code: 0x80070035 the network path not found". I have tried to search for a fix in forums, some said reconfigure the firewall, some said change a service setting.
I have tried many things to no avail so if someone can figure this out could they let me know. If the firewall is the problem, you'll have to configure it to allow access to "trusted zone" addresses.
Also I accessed my network settings for my router and set the ip address for the pc with the netgear on my DHCP reserve list and it also shows up in my dynamic DHCP Client List. This is important to me because the pc with the netgear contains all my files (pictures, music, downloads, etc.) and the pc with the router has nothing on it. Note that some firewalls must be completely uninstalled to stop them from affecting your networking.