Scripting Question

Is it a bad practice to include a script to map network drive inside a custom action?

07/02/2015 848 views
I think it should be done outside the installation. What do you think? 
Answer Summary:
0 Comments   [ + ] Show comments


Answer Chosen by the Author

It should be outside of your package and be managed correctly with via GPO or login script.

There are many reason why, but the main one will be that it won't work if you are installing in the system context, as there won't be permissions to access the network resource.

Answered 07/02/2015 by: dunnpy
Red Belt

  • I totally agree with you, I asked because it was a requirement from customer...

All Answers

Accept that many customers are poorly skilled and will need education on how network security works. It is technically possible to set up a "Null session share" on a server that allows connections without credentials, but since it totally undermines server security, it is a truly stupid thing to do.
Application installers should never have dependencies on network resources during installation - there are always solutions to any issues you can encounter in the real world.
Answered 07/02/2015 by: EdT
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ