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!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南