get exact token size for a list of user accounts.

I have been asked to get exact token size for a list of user accounts.

I have downloaded and tested the tokensz utility. but it requires user credentials to run it. I can't ask every user his password.

Are there any methods for getting the token size report with this utility
without asking the users to run it for me?

Note: my domain is having 3000 users. i want script to check only lited users  from the  domain.
vijaygoturAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
arnoldCommented:
You can use a user Gpo login script that will run the command redirecting the output into a user file

Tokensz > \\server\share\%username%.token
If you want data from multiple hosts, you would use >>
You could add echo to either to add info on which host it ran on.
vijaygoturAuthor Commented:
I am having 2008R2 Dc's so http://www.microsoft.com/download/en/details.aspx?id=13749
not helpful
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

vijaygoturAuthor Commented:
Hi arnold,

Could you please provide me complte steps to execute this.
David Johnson, CD, MVPOwnerCommented:
tokensz is also for server 2003
vijaygoturAuthor Commented:
Hi,
As  i  mentioned, I have downloaded and tested the tokensz utility. but it requires user credentials to run it. I can't ask every user his password.

Are there any methods for getting the token size report with this utility
without asking the users to run it for me?
arnoldCommented:
Login script
@echo off
echo on %date% %time% %username% >>\\servername\sharename\%username%.log
tockensz >> \\servername\sharename\%username%.log
echo '-------------' >> \\servername\sharename\%username%.log

Make sure to use full path to the tockensz to make sure each user can run it especially if you store it on the network rather than having to install each on every system.
vijaygoturAuthor Commented:
Hi,

I have tried with above solution, I am able to get only date,time and username in logfile but no other details.
Is their any other way to get this information.

Thanks in advance.
arnoldCommented:
You need to use the full line for the command,
"c:\program files\.......\tockenzs.exe" >> 

Or if you have it on the network, use the path to it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.