Solved

get exact token size for a list of user accounts.

Posted on 2012-04-07
10
3,704 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 79

Expert Comment

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

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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

Author Comment

by:vijaygotur
ID: 37820641
Hi arnold,

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

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 77

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 77

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Many times while working on a computer regardless of any Operating System, lag and crashes seem to creep in, hindering your working speed. Sometimes, it can also cause your work to be lost unexpectedly and as a result, you are unable to meet your de…
Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution! This article guides you through accessing and editing a registry of a non-primary drive. To read registry information on a non-prim…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

806 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