that's impossible to do that in the same user context. these parameters are stored in the registry for each user.
so if you create another user for which these settings are disabled, and if you can split your project in two parts, one main front end and one that navigates, I can give you a function that lauches the second one with the new username options.