Roles retrival in disconnected mode after machine reboot
- Hi All:
I have written a program which retrieves all the roles of a current logged in user from domain controller which is Windows server 2003.
This works fine in Connected mode, i.e. my client machine, which is Windows XP, is connected to Domain Controller.
This works fine even in disconnected mode, i.e my client machine is not connected to domain controller.
Also it works fine even when I loggoff and logon my client machine in disconnected mode.
But it gives problem when I reboot my client machine in disconnected mode. As soon as I restart my client machine all the roles get wiped off from my client machine.
Is there any solution to problem?? Is there any setting which would make roles available even after machine reboot in disconnected mode.
Thanks in advance for your valuable help.
Regards,
Ajay
Answers
Hi,
You can get the security privileges of the current logon user by using the command: whoami /priv, please check if it can meet your requirement.
For more information related to programming, I’d like to recommend that you post it in the MDSN forum. The support professionals there are better equipped to assist you.
For your convenience, I’ve also listed the website of MSDN forum:
http://forums.microsoft.com/MSDN- Marked As Answer byLaura Zhang - MSFTMSFT, ModeratorThursday, August 28, 2008 2:25 AM
- Hi Ajay,
After reboot, the group membership information is still cached as as SID's and cannot be resolved to friendly names. So the group information _is_ cached but as actual domain SIDs.
You can use the process explorer tool to view the SID's after the reboot to verify they are cached.
Dharmesh M Mehta http://smartsecurity.blogspot.com- Proposed As Answer byDharmesh M Mehta Tuesday, August 26, 2008 5:27 AM
- Marked As Answer byLaura Zhang - MSFTMSFT, ModeratorThursday, August 28, 2008 2:25 AM
All Replies
Hi,
You can get the security privileges of the current logon user by using the command: whoami /priv, please check if it can meet your requirement.
For more information related to programming, I’d like to recommend that you post it in the MDSN forum. The support professionals there are better equipped to assist you.
For your convenience, I’ve also listed the website of MSDN forum:
http://forums.microsoft.com/MSDN- Marked As Answer byLaura Zhang - MSFTMSFT, ModeratorThursday, August 28, 2008 2:25 AM
- Hi Ajay,
After reboot, the group membership information is still cached as as SID's and cannot be resolved to friendly names. So the group information _is_ cached but as actual domain SIDs.
You can use the process explorer tool to view the SID's after the reboot to verify they are cached.
Dharmesh M Mehta http://smartsecurity.blogspot.com- Proposed As Answer byDharmesh M Mehta Tuesday, August 26, 2008 5:27 AM
- Marked As Answer byLaura Zhang - MSFTMSFT, ModeratorThursday, August 28, 2008 2:25 AM