?
Solved

Active Directory User Accounts

Posted on 2008-10-29
8
Medium Priority
?
193 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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 18

Accepted Solution

by:
BSonPosh earned 2000 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

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…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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.
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

770 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