function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sailor67Sailor67 

Is there a way to turn off login-in Verification Code for new PCs?

This is a very annoying thing when running demos on new computers... Is there a setting to turn it off?

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
imutsavimutsav
Rakesh is right you can add your companies' IP address to the trusted IP address list and then when you log in from any system within this IP range then it won't ask you for the security token.

Setup -> Administration Setup->Security Controls->Network Access->Click on New button in the Network Access page. Enter the IP Address; if you have a range then add the start Ip address and end ip address or else add your particular ip address in both start and end ip address.

Thanks
Utsav

[Do mark this as solution and give Kudos if it helps you]

All Answers

Rakesh BoddepalliRakesh Boddepalli

- You can add their IP's to the Trusted IP addresses .

imutsavimutsav
Rakesh is right you can add your companies' IP address to the trusted IP address list and then when you log in from any system within this IP range then it won't ask you for the security token.

Setup -> Administration Setup->Security Controls->Network Access->Click on New button in the Network Access page. Enter the IP Address; if you have a range then add the start Ip address and end ip address or else add your particular ip address in both start and end ip address.

Thanks
Utsav

[Do mark this as solution and give Kudos if it helps you]
This was selected as the best answer
Sailor67Sailor67

Ok, thanks to you both!

Andrew Nelson 19Andrew Nelson 19
even more annoying in a sandbox when it decides it's sending this to an email address it's just stuck an addendum on the end of. could this not at least be adjusted so the code is sent to the true email address, - the .sample added at the end? Happy for it to remain in production as it performs a key job, but in sandbox it just makes the sandbox innacessible
Bryan MenellBryan Menell
The question was not "How do I set a trusted IP address range."

So how do you turn off 2-step verification?