Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: create AD-PC-Account with given GUID per script

HTVi
TV Discussion Newsgroups

create AD-PC-Account with given GUID per script
"Jens Klein" <JensKlein[ at ]discussions.microsoft.com> 4/21/2007 7:24:10 PM
Hello,

is there a way to create computer accounts with given GUID's (by the
Hardware-Dealer) with a script?

--

thx,
Jens
--

RE: create AD-PC-Account with given GUID per script
Jeremy 4/23/2007 1:50:02 AM
Preface
1: I have never done this
2: Given that you can do it with the GUI I think you could
3: I don't have time to test this

This script would take a bet of mucking around to create. The attribute you
are after is called netbootGUID. When you look at this in ADSIedit it looks
different from what you type in when you use the GUI. For example if you type
in:
{FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF} in the GUI in ADSIedit it looks like
this
Hex: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

So here is what you need to do:
1: Start with a script to create a computer account
2: Work out how two write and attribute with type octet string
3: Do some data manipulation do that you convert your manufacturer supplied
GUIDs into a format that can be written.

Its going to take some work, but it *should* be able to be done. If you
aren't up to this, then maybe someone out there can pick up the challenge.

Cheers,
Jeremy.


"Jens Klein" wrote:

[Quoted Text]
> Hello,
>
> is there a way to create computer accounts with given GUID's (by the
> Hardware-Dealer) with a script?
>
> --
>
> thx,
> Jens
> --
>
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen