Logon Script via VPN – Hay scrip que requiere ser parte del dominio, es importante en este punto que las mquinas esten en el dominio.
The logon script will run via task scheduled generated on Windows. Task Configuration
- Go to Task Scheduler
Right click task schedule library
Create Task
Add a new name (Logon Script)
Click on Triggers tab
- Click on new
- On Begin the task, select “On an event”
- Select on Log: Application
- Source: RasClient
- Event ID: 20225
- Check Delay task force: 15 seconds (write it manually)
Click OK
Go to Actions Tab
- Click on New
- Action: Start a program
- Program/script: \\172.x.x.x\netlogon\scripts.vbs
- Conditional Tab
After being connected on the VPN for two minutes the script will run and the map drives will be visible on My Computer for the user.
Background: When the user connects to the VPN a trigger is activated, identified as an event 20225 and executes an action which “run the logon script”.
Tarda como 1 minuto o un poco mas
Fantastico artículo, me ha resultado muy útil para un trabajo universitario que estoy realizando.