Group Policy Scheduled Task To Execute Remote Script
Hi, currently I'm having problem applying Scheduled Task in Group Policy Preferences to execute Script from the Server. So basically the scheduled task executed at domain computers pointed to network location using UNC Path. Sometimes I got error 0x1 and also 0x8007010b, I tried to use the UNC Path in the start in with and without double quotes (") and also I've tried it in the program. How to fix this problem? Thanks.
August 28th, 2015 1:48pm

can you give example for this and what was in the actions tab you execute?

for example a batch file that contain-  net use M: \\contoso\ShareFolder

Free Windows Admin Tool Kit Click here and download it now
August 29th, 2015 3:40am

can you give example for this and what was in the actions tab you execute?

for example a batch file that contain-  net use M: \\contoso\ShareFolder

August 29th, 2015 2:41pm

Hi,

I hope that this meet your requirement. This is my example

I put my batch file called "testmap.bat" in \\NOM-DC1\Netlogon

-------------------------------------------------------------------------------------------------------------------

inside the testmap.bat file:

@echo off

net use X: \\NOM-DC1\Shared

Start X:

---------------------------------------------------------------------------------------------------------------------

This  is my Group Policy under TEST OU

-----------------------------------------------

The output last run result:

Free Windows Admin Tool Kit Click here and download it now
August 29th, 2015 11:29pm

Would you please explain me why you put \\nom-dc1\Shared inside "Start in" instead of \\nom-dc1\NETLOGON? I believe \\nom-dc1\Shared is the network location that will be mapped, isn't it? And also which configuration did you use? Computer or User Configuration? Can you export and attach it here? Thanks in advance.
August 30th, 2015 12:06am

\\nom-dc1\netlogon\ is where I put the batch file I called "testmap.bat"

you can put into hard drive 'C:\testmap.bat' into program/script but you have to make sure the 'testmap.bat' file located in c:\ at your users' side as well..

at the start in, sorry, it supposed to be \\nom-dc1\NetLogon instead of \\Nom-dc1\Shared

I use "User configuration".

Free Windows Admin Tool Kit Click here and download it now
August 30th, 2015 1:47am

Did you choose "Run only when user is logged on"? I want to choose "Run whether user is logged on or not", and uncheck "Don't store password" since I'm accessing network resources, but it appears the option "don't store password" is disabled due to Windows Update, so is there any workaround to solve this issue?
August 30th, 2015 2:20am

yes, I choose Run only when user is logged.
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2015 2:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics