joaoafricano
(Just in Town)
2017-04-07 06:34 PM
use command only works if script was called from command

I´have a problem in windows 10 last release, the one with Cortana.
if i call de script from a logon bat in Policy, the command "USE" execute but not map any driver.
But if a call the same script from command after login, the command "USE" execute and map all drivers.

Any Idea???


AllenAdministrator
(KiX Supporter)
2017-04-07 06:45 PM
Re: use command only works if script was called from command

Please do a search for both RunAsInteractiveUser and EnableLinkedConnections. These options are the most direct. You could also run a hybrid Policy Script and Logon script, separating the mapping of the drives to the logon portion.