Creating a script
Maybe I haven't understood the scripting very well, that's why I am asking for help. I am trying to create a very simple script in which I map a network drive and I want to apply it to a test virtual machine.
I have created a batch file with the necessary command and I went to Scripting, Scripts, Add New Item and I selected to create an Offline script with name "Map Drive" , Status "Example" , I enabled it , I deploy it to a specific machine , I select the OS , I select "Do not run on a schedule" and I have checked the "Also run at user log in".
When I save it I run it immediately and in Run now status I see that 1 script is pushed succesfully and one script is completed succesfully. I forgot to mention that I have uploaded the bat file in Dependencies.
But after this, when I go to log in from the test computer, I see nothing.
When I go back to the script and check the Scheduling, except the "Also run at user logon" which I have it selected, I see also checked the "Allow run while logged off".
What do I do wrong?