Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Logon Script not working

$
0
0

Hi, 

I need some help with the following logon script:

@echo off
net use * /DELETE/yes
if ingroup("Administrators")
net use x:"\\10.10.100.55\Users\%username%"
endif

and if instead the username is hard coded, it worked. 

The issue is that i need to apply it on the OU of the Active directory where there are many users in different groups  who are going to sign in. 

Thanking you for your help beforehand.

Ricky 


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>