Solved

get exact token size for a list of user accounts.

Posted on 2012-04-07
10
3,882 Views
Last Modified: 2012-08-13
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.
0
Comment
Question by:vijaygotur
  • 4
  • 3
  • 2
10 Comments
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 37820199
0
 
LVL 78

Expert Comment

by:arnold
ID: 37820520
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.
0
 

Author Comment

by:vijaygotur
ID: 37820624
I am having 2008R2 Dc's so http://www.microsoft.com/download/en/details.aspx?id=13749
not helpful
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:vijaygotur
ID: 37820641
Hi arnold,

Could you please provide me complte steps to execute this.
0
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 37820690
tokensz is also for server 2003
0
 

Author Comment

by:vijaygotur
ID: 37820744
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?
0
 
LVL 78

Expert Comment

by:arnold
ID: 37821631
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.
0
 

Author Comment

by:vijaygotur
ID: 37848299
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.
0
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 37848340
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.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question