By definition, the lanman (server service) HAS to be restarted to refresh that info.

you are reading 1 point, writing to a different point, and waiting for a middleman (lanman) to update... lanman will update when the server/service starts.

option, read from the registry/ the same place you are writing to.
_________________________
How to ask questions the smart way <-----------> Before you ask