SQL Server, Analytics, .Net, Machine Learning, R, Python
Mitch Wheat has been working as a professional programmer since 1984, graduating with a honours degree in Mathematics from Warwick University, UK in 1986. He moved to Perth in 1995, having worked in software houses in London and Rotterdam. He has worked in the areas of mining, electronics, research, defence, financial, GIS, telecommunications, engineering, and information management. Mitch has worked mainly with Microsoft technologies (since Windows version 3.0) but has also used UNIX. He holds the following Microsoft certifications: MCPD (Web and Windows) using C# and SQL Server MCITP (Admin and Developer). His preferred development environment is C#, .Net Framework and SQL Server. Mitch has worked as an independent consultant for the last 10 years, and is currently involved with helping teams improve their Software Development Life Cycle. His areas of special interest lie in performance tuning
Monday, September 11, 2006
Windows XP Service Pack 2 Support Tools
Every so often (actually quite often!), I come across something and I think “I really should have known that!” (bit like the F7 key in a command window…). Some time ago, pre-.NET in fact, I was playing around with some VB/Win32 API code written by L.J. Johnson, and put together a simple app. to display (among other things) domain group membership. I’m sure I’m the last person to know this but Microsoft have a freely downloadable set of Windows XP Service Pack 2 Support Tools that includes whoami.exe that can display your SID and group membership:
C:\> whoami /USER /SID
[User] = "HOMEDOMAIN\mitch" S-1-5-21-1935655697-117609710-839522115-1003
C:\> whoami /GROUPS
[Group 1] = "HOMEDOMAIN \None"
[Group 2] = "Everyone"
[Group 3] = "HOMEDOMAIN \Debugger Users"
[Group 4] = "BUILTIN\Administrators"
[Group 5] = "BUILTIN\Users"
[Group 6] = "NT AUTHORITY\INTERACTIVE"
[Group 7] = "NT AUTHORITY\Authenticated Users"
[Group 8] = "LOCAL"
Saw this via Bart De Smet’s blog.
MSN, Email: mitch døt wheat at gmail.com