Solved

How I Know the Domain Login & Local Login for each winXP as Admin

Posted on 2004-09-04
5
165 Views
Last Modified: 2010-04-14
Dear All,

 Is there a way to know eash PC(Win XP) whats have the NT Domain Login & Local Login as Administrator
 Ex:
We have Win2000 Server SP.4 whith  1 Domain and 1500 XP PC in our company as Administrators i can know by IPaddres The name of Win Xp pc registerd like this IP (10.3.3.17 ----> Neno as PC)  but the main Q? the NeNo pc which Domain Login he used and if it possible if i can now also the Local Login he created on Neno PC.

Thanks
0
Comment
Question by:Nemreen
[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
  • 3
  • 2
5 Comments
 

Author Comment

by:Nemreen
ID: 11983641
Still there no answer ? its clear
0
 
LVL 6

Expert Comment

by:Scott_Willcocks
ID: 11988097
to find out what local account he used on his machine

right mouse click >my computer and select manage from your machine

 In the management console right mouse click computer management local and select connect to another computer
type in the network name formthe pc in question Neno this connect to his management console.

go to the local users and groups and check users to see iwhat locally held user accounts are on this machine delete the ones you don't want him to have.

Or rename if you like.

then goto groups and enter the administrator group and remove any usernames that you don't want to have local administrator rights on the local machine.

to go through the security log

goto the event viewer and if you are the domain admin goto the security tab this lists everyone who has logged onto that pc also any failed attempts browse through there and you should get an idea of whose logging onto the rogue PC
0
 

Author Comment

by:Nemreen
ID: 12033354
Thanx Man now i can know for eash machine the local account.

 ok but how i know the domain login like Neno PC the user he logine by Nazx01@xxx.com.ca to the domain? (How I Know the Domain Login fo each PC )
0
 
LVL 6

Accepted Solution

by:
Scott_Willcocks earned 30 total points
ID: 12041927
like I said log onto th the remote management goto event viewer of the PC and check the security tab this lists all the login attempts on that pc

you can right mouse click on the security tab and goto properties and set the event viewer to only log information you want. in this case successful audits also leave the failed on as if the user gets there logon attempt wrong it logs it there as well.

heres dos

@ECHO.
@ECHO The user logged in is: %USERNAME%
@ECHO.

put in a batch and >> to text

vbscript

Dim strUserName
Set wshShell = WScript.CreateObject("WScript.Shell")
strUserName = WshShell.ExpandEnvironmentStrings("%USERNAME%")
WScript.Echo ("The user logged in is: " & vbCrlf & strUserName


or better if w2k or xp WMI

Dim strUserName
Set WshNetwork = WScript.CreateObject("WScript.Network")
strUserName = WshNetwork.UserName
WScript.Echo ("The user logged in is: " & vbCrlf & strUserName

the last two you need to be logged on as the user if you have logon scripts you can change thw wscript.echo and get it to pass it to a text file then just set up a machine poilicy and attach the script to it.

0
 

Author Comment

by:Nemreen
ID: 12042189
Ok Thans again its very clear :)
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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

626 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