echo %userprofile%
C:\Users\f.lastname
But the value of ${user.home}
is \\LOGONSERVER\RedirectedFolders\f.lastname\
in network drive.
So how is ${user.home}
initialized and how can I change its value to the normal user profile directory?
Resolved!
By fixing Desktop path value in 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders'