I lost the “Security” tab of offline files synced by Sync Centre !!

In Windows Vista and later there is a cool feature of making network shared files available offline and maintaining the synchronization through a newly added component called Sync Centre.  You may find more information about it here:  Explore the features: Sync Center. You might have a functionality where you would like to know the security…

0

ExpandEnvironmentStringsForUser() API does NOT expand the environment variable %USERNAME% on Windows 7.

ExpandEnvironmentStringsForUser() API does not expand the environment variable %USERNAME% on Windows 7 and Windows Server 2008 R2, if hToken value is obtained  only by using TOKEN_IMPERSONATE | TOKEN_QUERY flags for OpenProcessToken.  To expand the environment variables like %USERNAME%  on Windows 7 & Windows Server 2008 R2, you also need to add TOKEN_DUPLICATE as well.  For…

0