Most of the time, the returns the Windows directory. However, as noted in the documentation for :
With Terminal Services, the GetSystemWindowsDirectory function retrieves the path of the system Windows directory, while the GetWindowsDirectory function retrieves the path of a Windows directory that is private for each...