<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Pre-VPN Drive Mapping batch script in Registry Key in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/pre-vpn-drive-mapping-batch-script-in-registry-key/m-p/307730#M2142</link>
    <description>&lt;P&gt;So I'm having an issue getting a batch script to run from inside the pre-vpn-connect registry key.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed this article exactly with a couple different variations and no matter what I do the batch script is not being triggered.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.paloaltonetworks.com/globalprotect/7-1/globalprotect-admin/set-up-the-globalprotect-infrastructure/deploy-agent-settings-transparently/deploy-agent-settings-to-windows-endpoints/deploy-scripts-using-the-windows-registry.html#idd19eebe3-48e5-48f1-8c14-72c5b22bfdf3" target="_blank"&gt;https://docs.paloaltonetworks.com/globalprotect/7-1/globalprotect-admin/set-up-the-globalprotect-infrastructure/deploy-agent-settings-transparently/deploy-agent-settings-to-windows-endpoints/deploy-scripts-using-the-windows-registry.html#idd19eebe3-48e5-48f1-8c14-72c5b22bfdf3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The batch script runs perfectly outside of the reg key. My gut tells me that the 'command' string Value data UNC path is not being seen correctly. The above mentioned article uses the example %userprofile%\pre_vpn_connect.bat c: test_user&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My variation is %userprofile%\Documents\VPN_Mappings\pre_vpn_connect.bat c: test_user (For test_user I've used both the local login and the GlobalProtect user login user names, neither of which seems to work)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried plenty of different variations to include just the file path alone. (%userprofile%\Documents\VPN_Mappings\pre_vpn_connect.bat &amp;amp; also C:\Users\(local user account)\Documents\VPN_Mappings\pre_vpn_connect.bat)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm at a loss as to why this reg key is not triggering the batch script on connection to the VPN...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated, thank you all.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2020 19:54:57 GMT</pubDate>
    <dc:creator>mwill5392</dc:creator>
    <dc:date>2020-01-23T19:54:57Z</dc:date>
    <item>
      <title>Pre-VPN Drive Mapping batch script in Registry Key</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/pre-vpn-drive-mapping-batch-script-in-registry-key/m-p/307730#M2142</link>
      <description>&lt;P&gt;So I'm having an issue getting a batch script to run from inside the pre-vpn-connect registry key.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed this article exactly with a couple different variations and no matter what I do the batch script is not being triggered.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.paloaltonetworks.com/globalprotect/7-1/globalprotect-admin/set-up-the-globalprotect-infrastructure/deploy-agent-settings-transparently/deploy-agent-settings-to-windows-endpoints/deploy-scripts-using-the-windows-registry.html#idd19eebe3-48e5-48f1-8c14-72c5b22bfdf3" target="_blank"&gt;https://docs.paloaltonetworks.com/globalprotect/7-1/globalprotect-admin/set-up-the-globalprotect-infrastructure/deploy-agent-settings-transparently/deploy-agent-settings-to-windows-endpoints/deploy-scripts-using-the-windows-registry.html#idd19eebe3-48e5-48f1-8c14-72c5b22bfdf3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The batch script runs perfectly outside of the reg key. My gut tells me that the 'command' string Value data UNC path is not being seen correctly. The above mentioned article uses the example %userprofile%\pre_vpn_connect.bat c: test_user&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My variation is %userprofile%\Documents\VPN_Mappings\pre_vpn_connect.bat c: test_user (For test_user I've used both the local login and the GlobalProtect user login user names, neither of which seems to work)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried plenty of different variations to include just the file path alone. (%userprofile%\Documents\VPN_Mappings\pre_vpn_connect.bat &amp;amp; also C:\Users\(local user account)\Documents\VPN_Mappings\pre_vpn_connect.bat)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm at a loss as to why this reg key is not triggering the batch script on connection to the VPN...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated, thank you all.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 19:54:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/pre-vpn-drive-mapping-batch-script-in-registry-key/m-p/307730#M2142</guid>
      <dc:creator>mwill5392</dc:creator>
      <dc:date>2020-01-23T19:54:57Z</dc:date>
    </item>
  </channel>
</rss>

