replace command
Use the replace command to replace the FoD key for the specified system on Lenovo Web site.
replace command syntax
OneCli.exe fod replace < --featurecode <feature_code>> < --uid <uid>> < --olduid <old_uid>> < --kmsid<kms_id>>
[--installin <install_in>] [--dir <dir_name>] [--proxy <proxy_info>] [<options>]
Parameter | Required/Optional | Notes |
---|---|---|
--dir | Optional | Specify the directory to save the downloaded key file. The default value is the current directory. |
--featurecode | Required | Specify the feature code of the FoD key to be replaced. |
--installin | Optional | System machine type and serial number of the target system. Install the FoD key. |
--kmsid | Required | Specify Lenovo ID credential for Lenovo Web site interactive. |
--olduid | Required | Specify the previous unique identifier information. |
--proxy | Optional | Use proxy to connect to Lenovo Web site. The format is user: password@host[:port]. For IPv6 address, the format is socks5://user:password@[IPv6]:port. |
--uid | Required | Specify unique identifier information. |
| Optional | Refer to Table 2. |
Example of the replace command
OneCli.exe fod replace --featurecode xxxx --uidxxx --olduid xxx --kmsid userid:password
--installin xxxxxx --output replace
Give documentation feedback