Issues with Net Use Logon Script GPO

0

Howdy! My workspaces environment is using AWS Simple AD. I was attempting to setup a mapped drive to an EC2 provisioned resource using a net use .bat script via logon GPO.

The GPO is showing in gpresult. The script can be run as a logged in user from the network path of the script and successfully maps the drives. I added an echo test to the end of the script and upon logon the echo creates the test file I indicated in the script. But for some reason when run at logon via GPO it will run the echo but not the net use commands.

KayBee
已提问 1 年前341 查看次数
1 回答
0

Where is your login script saved? It really should be stored on the netlogon share.

Otherwise use the GPO native map network drives.

You could for debug purposes make sure your scripts are not hidden via gpo setting and place a pause in the script to see any errors

profile picture
专家
已回答 1 年前
  • Hi, I had tried native mapped drives first. I just tried again given your response and still no luck, followed this specific tutorial this time to ensure all steps were correct. https://activedirectorypro.com/map-network-drives-with-group-policy/

    I wanted to post my scripts to netlogon share (sysvol) on the domain controller but given this is simple AD didn't see a method to perform that action in the AWS docs. I made a share on the EC2 provisioned resource and ensured domain users had read access. Are these just limitations to SimpleAD should I migrate to proper domain controller? Thanks!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则