This shows you the differences between two versions of the page.
userspace:windows_7_create_localadmin [2012/02/09 08:54] tobias |
userspace:windows_7_create_localadmin [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | == This tutorial shows you how to create automaticaly == | ||
- | |||
- | - Extract the opsi-win7 package in OPSI-Workbench | ||
- | - CD into the OPSI folder an change the control file | ||
- | - Add a Product Property for the LocalPassword (You can also user a hostparameter instead of product property, then you don't need to create a " | ||
- | - < | ||
- | |||
- | |||
- | [ProductProperty] | ||
- | type: unicode | ||
- | name: localpw | ||
- | multivalue: False | ||
- | editable: True | ||
- | description: | ||
- | values: [" | ||
- | default: [" | ||
- | </ | ||
- | - go back into the source directory of your Opsi-Package and use opsi-makeproductfile | ||
- | - Install the modified opsi package with opsi-package-manager -i | ||
- | - Change into \opst\pcbin\install\win7\custom\ dir | ||
- | - Modify the unattend.xml if there is not unattend.xml copy the unattended.xml.template form the opsi directory into the custom directory (and rename to unattended.xml) | ||
- | - Use the LocalAccounts section (Line 288) | ||
- | - < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | --> </ | ||
- | - Remove the <!-- and --> | ||
- | - Add yout User information (username, Description .....) | ||
- | - For adding password via OpsiConfiguration Interface add the Productproperty localpw into the password sektion like this: #@localpw*# . localpw is the name of the Productproperty you have created in the control file patcha will patch the XML file with your own values. You can also user a hostparameter instead of product property. | ||
- | |||
- | |||
- | |||