+ Post New Thread
Results 1 to 14 of 14
Wireless Networks Thread, adding windows 2000+ username in Technical; BUM! on testing our smoothwall with staff for the first time, I notice something quite worrying. The vast majority of ...
  1. #1

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,169
    Thank Post
    217
    Thanked 1,288 Times in 799 Posts
    Blog Entries
    4
    Rep Power
    512

    adding windows 2000+ username

    BUM!

    on testing our smoothwall with staff for the first time, I notice something quite worrying.

    The vast majority of them have no windows 2000+ username (eg: username@domain.local), which is a kicker, becuase NTLM in smoothwall requires this.

    A quick search shows that this is from when the domain was upgraded from NT, the existing user accounts aren't automatically updated with one. So anyone who was here more than 5 years ago doesn't have one.

    I want to know if anyone knows of a way to add them to a whole group of people at a time - as I really don't want to have to dig through AD to try to find them.

    Cheers!

  2. #2
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,013
    Thank Post
    120
    Thanked 283 Times in 261 Posts
    Rep Power
    108
    There is a program that can do this for you. I had a similar problem and the engineer put me onto it. It is for doing bulk modifications to AD. I cant remember it's name but it has also been mentioned on here.

  3. #3
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,013
    Thank Post
    120
    Thanked 283 Times in 261 Posts
    Rep Power
    108
    Infact having a quick google I think it's AD modify that I used

    Using ADModify to Change Exchange Specific AD User Attributes in Bulk

  4. 2 Thanks to ChrisH:

    Domino (3rd April 2008), john (7th April 2008)

  5. #4

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181
    You could also take the opportunity to 'correct' some of the other fields (surname, forname, display name, etc.) ussing CSVDE. It just requires a bit of CSV hacking.

  6. Thanks to Ric_ from:

    Domino (3rd April 2008)

  7. #5
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,013
    Thank Post
    120
    Thanked 283 Times in 261 Posts
    Rep Power
    108
    Quote Originally Posted by Ric_ View Post
    You could also take the opportunity to 'correct' some of the other fields (surname, forname, display name, etc.) ussing CSVDE. It just requires a bit of CSV hacking.
    Yup yup I used AD modify to fix all my display name. When I scripted user imports I was always setting my CN to the user name which can be a bit hard to browse in a list so I changed them all the their full name.

  8. #6

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,169
    Thank Post
    217
    Thanked 1,288 Times in 799 Posts
    Blog Entries
    4
    Rep Power
    512
    cheers guys!

    i'll try both of them when i get in tomorrow, sounds simple enough

  9. #7
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,013
    Thank Post
    120
    Thanked 283 Times in 261 Posts
    Rep Power
    108
    Mine will be quicker and easier tbh ;-) . Make sure you run it from you local machine and not a share or anything it comes up witha funny error (at least I think it's this program that does that)

  10. #8

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181
    Quote Originally Posted by ChrisH View Post
    Mine will be quicker and easier tbh ;-)
    Yes but my way is more complicated, time consuming and prone to error! Surely it's a no brainer!

  11. #9


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Thumbs down

    I had exactly the same problem with smoothwall, we did this:

    Code:
    Set objParent = GetObject("LDAP://OU=yeargroup, DC=college,DC=example,DC=com")
    objparent.Filter = Array("user")
    for each objUser in objParent
    
         objUser.put "UserPrincipalName", objUser.Get("sAMAccountName") & "@domain.com"
         objuser.Setinfo
         next
    Wscript.Echo "Done ;)"

  12. Thanks to CyberNerd from:

    Domino (4th April 2008)

  13. #10

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,169
    Thank Post
    217
    Thanked 1,288 Times in 799 Posts
    Blog Entries
    4
    Rep Power
    512
    wow, that ADModify is bloody brilliant!

    only took a couple of seconds, now its all good - and i'll have a dig through the other features in a mo, looks really good.

    It should be added to the Wiki!

  14. #11

    Join Date
    Apr 2008
    Location
    Wales
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks for al the comment but it's the field in Delivery Options I want to change the only tool I can find that will do this is AD Manager Plus at 799 per seat.

    Looking for cheaper alternative.

  15. #12
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,013
    Thank Post
    120
    Thanked 283 Times in 261 Posts
    Rep Power
    108
    Quote Originally Posted by Patk100 View Post
    Thanks for al the comment but it's the field in Delivery Options I want to change the only tool I can find that will do this is AD Manager Plus at 799 per seat.

    Looking for cheaper alternative.
    Hmm wrong thread maybe?

  16. #13
    diggory's Avatar
    Join Date
    Sep 2008
    Location
    Bristol
    Posts
    85
    Thank Post
    36
    Thanked 11 Times in 10 Posts
    Rep Power
    14

    We have just had exactly the same problem...

    However we have a util called AD Infinitum.
    Found at New FAWM
    Wasn't too expensive...

    Go down to manage object, then select export radio button.
    Click on the OU and highlight the users.

    Select "logon name" from the properties list and add it to the 'to be exported list' TWICE
    Untick the "include header row" box.

    Click the export button and then goto the Import properties radio button.
    Click open import file..

    You should get two columns of user names in the grid.

    Click on the blank grey heading at the top of the grid, change the first to "logon name"
    and the second to userPrincipalName

    Then click Set Properties button.

    Finally, go into AD and set the upn suffix (this can be done en-mass)

  17. #14
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,208
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30
    You may be able to do this using the dsmod utility and then create a batch file with them all in?


    Wes

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 5
    Last Post: 7th September 2007, 11:22 AM
  2. adding a task to windows scheduler
    By timbo343 in forum Scripts
    Replies: 1
    Last Post: 3rd April 2007, 03:41 PM
  3. Windows update won't work on 2000 pro
    By woody in forum Windows
    Replies: 4
    Last Post: 22nd December 2006, 08:59 AM
  4. Windows 2000 Dos Box Non Responsive
    By DaveP in forum Windows
    Replies: 12
    Last Post: 2nd November 2006, 03:23 PM
  5. Windows 2000 Pro CD
    By crc-ict in forum Windows
    Replies: 6
    Last Post: 31st March 2006, 10:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •