Solved

searching computer account using guid

Posted on 2011-03-16
10
794 Views
Last Modified: 2012-05-11
Hello

How do i find in active directory a computer account searching using  a guid number. The reason for this question is i think i have duplicate computer accounts with the same guid number and cannot image and computers using pxe boot.
0
Comment
Question by:master_6ez
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 57

Expert Comment

by:Mike Kline
ID: 35151453
Try a great free tool called adfind from Joe Richards

http://joeware.net/freetools/tools/adfind/index.htm

Joe even has a shortuct for GUIDs

adfind -sc adguid:GUID

Thanks

Mike
0
 
LVL 3

Assisted Solution

by:fireline1082
fireline1082 earned 125 total points
ID: 35151508
Check this site, for AD scripting

http://www.rlmueller.net/ADOSearchTips.htm


I guess you can do the search from the active directory users and computers itself. I will by doing custom query; I will check tomorrow from office and come back to you
0
 
LVL 3

Accepted Solution

by:
fireline1082 earned 125 total points
ID: 35153825
OK found new site from microsoft

http://support.microsoft.com/?id=315619

just copy follow the instruction to copy the code into .vbs file and then excute the file as domain admin

just pay attention to this line
sDomain = "LDAP://cn=Computers,dc=testone,dc=local"

if you domain for example is Example.com ; then change the line to

sDomain = "LDAP://cn=Computers,dc=example,dc=com"

note cn=Computers ; is the default computers container in active dirctory; if you use to move the computers to different OU like "Example Computers OU\IT Computers"then you need to change the line to

sDomain = "LDAP://OU=IT Computers,OU=Example Computers,dc=example,dc=com"

please try this and let me know

I prefer if you can open new command prompt as domain admin then execute the file from the command prompt;


0
 

Author Comment

by:master_6ez
ID: 35154591
I don't have domain acres just need to search through ad without any tools
0
 
LVL 3

Expert Comment

by:fireline1082
ID: 35154611
The suggested microsoft site is vb script

You need to use a tool ar script to get your query.
0
 
LVL 16

Expert Comment

by:vivigatt
ID: 35155354
>I don't have domain acres just need to search through ad without any tools

Do you mean that you can't run anything as a domain administrator?
0
 

Author Comment

by:master_6ez
ID: 35160174
Yes
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 35160194
Do you have access to AD Users and Computers?
0
 

Author Comment

by:master_6ez
ID: 35161797
yes i have acess to ad users and computers but only have permission to add and delete computer accounts
0
 
LVL 3

Expert Comment

by:fireline1082
ID: 35166108
Is the permission that you have assigned to particular OU or to the whole domain

I am not sure what is the total permissions that you have but I guess you should have access to read computer properties as well if you have add and delete. You can right click properties the OU or the domain level where you have access to create computer objects and check your Total permission from the security tab

try to run that microsoft vbs scipt on your machine with your credential after pointing to the exact OU where you have the computers account and see if you can get the results

Other than that, you may need to pass this to your domain admin and ask him to run this on behalf of you


Thanks
0

Join & Write a Comment

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

747 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now