Solved

get exact token size for a list of user accounts.

Posted on 2012-04-07
10
4,061 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
10 Comments
 
LVL 82

Expert Comment

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

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:vijaygotur
ID: 37820641
Hi arnold,

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

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 79

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 79

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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

by Nathan Brom/Bromy2004 Introduction There are numerous websites out there for any different type of program you can imagine.  Of those, you'll need to decide which ones are legitimate and aren't trying to steal your money or infect your comput…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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…
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…

635 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