Jump to content

Recommended Posts

Posted

Hello there !

just a small question.

[UserData]
  OrgName="mycompany"
  ComputerName="*"

So my computers names are like "mycompan-xxxxxx" where 'xxxxxx' is a random string.

I need to have a hostname with only 6 letters (due to my imaging server..)

So is it possible to set the number of letter that setup will generate randomly ?

And ever more (maybe it's too much) is it possible to set a fix string and a random one ? Like 'ABCxxx' with 'xxx' for random ?


Posted

If you are using PE (WinPE/BartPE), you can create simple script...

In you unattended.sif, create

Computer=**ComputerName**

Now pick some utility for replacing text and replace **ComputerName** with variable %Random%...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...