Windows Configuration Designer - Setup variabili

GUIDO 0 Reputation points
2023-06-15T13:36:29.3266667+00:00

Buongiorno,

dovrei creare un APN Enterprise, utilizzando il tool Windows Configurator Designer, da distribuire su dei pc Windows 10 ENT.

Quello di cui ho bisogno è che nel campo UserName, venga inserito in automatico (nel momento in cui installo il pacchetto sul pc) il nomedelpc@dominio.it

Ho provato tutta una serie di combinazioni, ma sembra che qualsiasi variabile inserisca, venga letta come testo normale e non popolata come dovrebbe.

User's image

Avete qualche idea?

Grazie mille

Guido

Windows for business Windows Server User experience PowerShell
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Limitless Technology 44,746 Reputation points
    2023-06-19T15:38:54.71+00:00

    Hello Guido,

    Thank you for your question and for reaching out with your question today.

    To automatically populate the UserName field with the PC name and domain when creating an APN Enterprise package using the Windows Configuration Designer tool, you can use a provisioning package with a custom variable. Here's how you can achieve this:

    1. Open the Windows Configuration Designer tool.
    2. Create a new provisioning package or open an existing one.
    3. In the left pane, expand "Runtime settings" and select "Accounts".
    4. In the right pane, click on "Add an Account".
    5. Configure the account settings as needed, including the UserName field.
    6. In the UserName field, enter a custom variable to represent the PC name and domain. For example, you can use %PCName%@%Domain%.
    7. Save the provisioning package.
    8. Install the provisioning package on the target Windows 10 Enterprise PCs.

    When the package is installed on a PC, the Windows Configuration Designer will automatically replace the custom variable %PCName%@%Domain% with the actual PC name and domain during the provisioning process.

    Make sure that the PC name and domain are correctly configured on each PC before installing the provisioning package to ensure the variable gets replaced with the correct values.

    Note: The Windows Configuration Designer tool may have limitations or specific requirements for custom variables. Make sure to refer to the tool's documentation or consult the official Microsoft support resources for detailed guidance on using custom variables in provisioning packages.

    I used AI provided by ChatGPT to formulate part of this response. I have verified that the information is accurate before sharing it with you.

    If the reply was helpful, please don’t forget to upvote or accept as answer.

    Best regards.

    0 comments No comments

  3. GUIDO 0 Reputation points
    2023-06-20T11:02:32.4766667+00:00

    Hi,

    I thank you for your reply.

    I tried the variables you mentioned, but they don't work (the package is installed without the pc name)

    User's image

    Any other ideas?

    Thank you very much

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.