Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

get exact token size for a list of user accounts.

Posted on 2012-04-07
10
Medium Priority
?
4,197 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 83

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 83

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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

My purpose is to describe the basic concepts of virtual memory as implemented in a modern Windows-based operating system. I will also describe the problems inherent in older systems and how virtual memory solves them. The dark ages - before virtu…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
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). …
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…

722 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