none
Name by chassis type RRS feed

  • Question

  • Hello,

    I have a problem to name laptops automatically. In VMs and with desktop PCs there is no problem. I want to name laptops "NB-SERIALNUMBER", as I said, it is working with VMs and desktops.
    I do not understand, why it is not working with laptops. There I get the default "MININT-XXX".

    Do you have an idea how I can get this working?
    Thank you very much!

    This are my rules in the customsettings.ini:

    [Settings]
    Priority=ByLaptopType, ByVMType, ByDesktopType, Default
    Properties=ComputerType, SerialNumber, MyCustomProperty
    
    [ByVMType]
    SubSection=VM-%IsVM%
    
    [ByLaptopType]
    Sub Section=Laptop-%IsLaptop%
    
    [ByDesktopType]
    SubSection=Desktop-%IsDesktop%
    
    [Desktop-True]
    OSDComputername=#Left("PC-%SerialNumber%",15)#
    
    [Laptop-True]
    OSDComputername=#Left("NB-%SerialNumber%",15)#
    
    [VM-True]
    OSDComputername=#Left("VM-%SerialNumber%",15)#
    
    [Default]
    OSInstall=Y
    SkipCapture=YES
    SkipBDDWelcome=YES
    SkipAdminPassword=YES
    SkipProductKey=YES
    SkipComputerBackup=YES
    SkipDomainMembership=YES
    JoinWorkgroup=WORKGROUP
    SkipComputerName=NO
    SkipUserData=YES
    UserDataLocation=NONE
    SkipLocaleSelection=YES
    UserLocale=de-DE
    UILanguage=de-DE
    KeyboardLocale=0407:00000407
    KeyboardLocalePE=0407:00000407
    SkipTimeZone=YES
    OSDTimeZone=110
    TimeZoneName=W. Europe Standard Time
    SkipBitLocker=NO

    Thursday, September 27, 2018 3:44 PM

Answers

  • Hi

    Sub Section=Laptop-%IsLaptop%

    Try 

    SubSection=Laptop-%IsLaptop%

    =)


    Toni

    • Marked as answer by asdoij Thursday, September 27, 2018 5:14 PM
    Thursday, September 27, 2018 4:45 PM

All replies

  • Hi

    Sub Section=Laptop-%IsLaptop%

    Try 

    SubSection=Laptop-%IsLaptop%

    =)


    Toni

    • Marked as answer by asdoij Thursday, September 27, 2018 5:14 PM
    Thursday, September 27, 2018 4:45 PM
  • You do not know, how happy I am. I did not find the mistake. Not the naming is correct.

    Thank you very much, it is so simple often.


    • Edited by asdoij Thursday, September 27, 2018 5:15 PM
    Thursday, September 27, 2018 5:15 PM
  • Nice to know. Have a nice weekend!

    Toni

    Friday, September 28, 2018 5:57 AM