How to set password to rar file. Step 1: open winrar, select required files and click add. Step 2: create a archive name, and switch to advanced tab. Step 3: select set password. Step 4: enter your desire password,check encrypt name and then click ok. You have successfully created a password for your archive file.