Solved

Active Directory User Accounts

Posted on 2008-10-29
8
191 Views
Last Modified: 2013-11-25
I have a server 2003 network and i am having trouble with user accounts.
I have ranger for networks installed which user account manager to manage users, but there are alot of users that are missing the "Username"@domainname in the account properties in AD, and ranger uses this field.
I have managed to put in the upn suffix "@domainname" for all users, but cannot put in their username.

Can someone help? Powershell was mentioned to me???

Screenshot below
username.JPG
0
Comment
Question by:andrewjones1987
[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
  • 3
  • 2
8 Comments
 
LVL 6

Expert Comment

by:Leon Teale
ID: 22830873
are you in a pre-windows environment?

were these accounts working fine and then one day they disapeared?
who set them up? can you vouch they were set up correctly?
0
 
LVL 2

Author Comment

by:andrewjones1987
ID: 22830904
no not in a pre windows environment. accounts were ok.

its not everyone.....about 75
0
 
LVL 6

Expert Comment

by:Leon Teale
ID: 22830945
soo...you suddenly realised you werent getting mail and then checked and it had changed the username to the pre-windows 2000 field?

0
Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

 
LVL 18

Accepted Solution

by:
BSonPosh earned 500 total points
ID: 22831239
You could use the Quest cmdlets for Powershell to fix this. www.quest.com/powershell


$users = Get-QADuser -size 0
foreach($user in $users)
{
   $UPN = "$($user.sAMAccountName)@ad.londonacademy.org.uk"
   $user | Set-QADUser -UserPrincipalName $UPN
}

Open in new window

0
 
LVL 2

Author Comment

by:andrewjones1987
ID: 22831364
getting error.....see below
untitled.JPG
0
 
LVL 18

Expert Comment

by:BSonPosh
ID: 22831523
You have to install the cmdlets via the link I provided. If you did that you need to add them to the current shell like this

Add-pssnapin Quest.ActiveRoles.ADManagement
0
 
LVL 2

Author Comment

by:andrewjones1987
ID: 22832517
how???
0
 
LVL 18

Expert Comment

by:BSonPosh
ID: 22832575
How what?

To install
dl here: www.quest.com/powershell
double click MSI

To add to your current shell
Add-pssnapin Quest.ActiveRoles.ADManagement
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
Progress
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

726 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