Jump to content
View in the app

A better way to browse. Learn more.

300ZX Owners Club

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NZR - Active Directory 2003

This one for all the IT people out there....

 

I'm working on a project upgrading laptops and PC's

We're using Altiris to push out the images and software apps

 

We have to create the PC/laptop in Altiris first, and I have found the way to do that as a batch when you have more than a few to do

 

 

We have also for some reason got to Pre-Stage (create) the PC's/laptops into the correct OU within AD

(This is the only way to do it, on the last upgrade we did, we used SYSPREP to add the PC to the domain, then move it to the correct OU - Not allowed to mess about with it that much this time round!)

 

I have found a command called DSADD, which will allow you to add Computers to the coorect OU from a command line...

 

dsadd computer "cn=pudding, ou=domain computers,dc=home,dc=com"

 

So this works fine, and adds the PC with the name PUDDING into the "Domain Computers" container.

 

NOW, what I need help with is making this run in a batch file, so I can copy that line as many times as I need to, edit each line with a new PC name, and run it.

 

Everytime I try it, it just displays the first line in the batch file over and over again in the DOS window, and doesnt even add the bleedin computer!!

It also buggers up the command prompt window, in that every time I try to run something in it, it too just displays repeatidly

 

 

Someone help me please

 

Cheers

 

Steve

Featured Replies

If it was in Unix (Proper OS) I would probably use a FOR loop and just put all the hostnames of the boxes in or read them in from a text file. ;)

Thanks fellas, I'll have a read up on that site after FOOD

 

cheers

 

steve

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Terms of Use

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.