Skip to main content
Solved

Unattended installation of windows filesystem client


Forum|alt.badge.img+6

Hi Expert Team,

 

We have some challenges with ports opening for windows client remote installation.Commvault case is already raised.

 

Our environment is customized. We are looking for workaround.We are using Commvault in background.We are managing windows client configuration and backups from Cloud console(API driven).

I see there are articles for unattended installation.

https://documentation.commvault.com/2023e/expert/installing_windows_custom_package_configured_as_self_extracting_executable_file.html

 

https://documentation.commvault.com/2023e/expert/registering_client_using_command_line.html

.  Can below two commands be scripted as batch file ?  

What is “PasswordEncrypted” means ? How to encrypt password ? 

-passwordEncrypted

Encrypted password for the user account provided.


CustomPackageName.exe /silent /install

SIMCallWrapper -OpType 1000 [-instance instance_name] [-user user_name] [-password password] [-passwordEncrypted] [-CSName CommServe_name] [-CSHost CommServe_hostname] [-ClientName client_name] [-ClientHostName client_hostname] [-authcode authcodevalue] [-ClientGroup client_group] [-subclientPolicy subclient_policy] [-StoragePolicy storage_policy] [-overwriteClientInfo] [-resetNetworkPassword] [-regPath alternate_registry_path] [-instanceFor1Touch instance_name] -output [-restartServices] [-ConnectionInfo GatewayHostname:Port] [-url <EndPointURL>

Best answer by Rajiv

Hello ​@AbdulIkram you would have to create an answers file, fill the CS information and authorization information for the client to register. Once the answers file is created along with the custom package, both needs to be placed on a server under one folder and then simply run the command: start /wait Setup.exe /play install.xml /silent and that should install with the details under answers file. If any parameter you leave empty, its going to assign by default during the installation. 

If you want to create a script for the above, can you try to give the path of the install/xml as well as path of Setup in the command itself and then try to run it and see if that helps? If it works (I think it should) then you can simply add the command with the paths included under a bat file and simply run it.

Best,

Rajiv Singal  

View original
Did this answer your question?

3 replies

Rajiv
Vaulter
Forum|alt.badge.img+12
  • Vaulter
  • 317 replies
  • January 6, 2025

Hello ​@AbdulIkram 

If you want to use a custom answer file during the installation, add the argument /play install.xml to the above command, where install.xml is the name of the custom answer file in the custom package. Under install.xml, you can provide the -passwordEncrypted. Password/authcode, anyone can be used for authentication.

You can also edit the install.xml with the details you want to provide: https://documentation.commvault.com/2023e/expert/customizing_answer_file_of_windows_custom_package.html, A sample file is also shared in this document. 

Best,

Rajiv Singal


Forum|alt.badge.img+6
  • Author
  • Byte
  • 28 replies
  • January 7, 2025

Hi ​@Rajiv ,
Thank you.Do you have any idea how these parameters can be customized as variable and when run it picks respective clientname and hostname.

I mean for example if the Batch script is run on client1 it picks the client name as client1 and hostname as it’s IP address.Similarly if it the Batch script is run on client2 it picks the client name as client2.I hope this make sense.

 

clientName

The name of the client computer where the software will be installed. For example, client1.

hostName

The host name of the computer where the software will be installed. For example, client1.domain.company.com.


Rajiv
Vaulter
Forum|alt.badge.img+12
  • Vaulter
  • 317 replies
  • Answer
  • January 7, 2025

Hello ​@AbdulIkram you would have to create an answers file, fill the CS information and authorization information for the client to register. Once the answers file is created along with the custom package, both needs to be placed on a server under one folder and then simply run the command: start /wait Setup.exe /play install.xml /silent and that should install with the details under answers file. If any parameter you leave empty, its going to assign by default during the installation. 

If you want to create a script for the above, can you try to give the path of the install/xml as well as path of Setup in the command itself and then try to run it and see if that helps? If it works (I think it should) then you can simply add the command with the paths included under a bat file and simply run it.

Best,

Rajiv Singal  


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings