blu4 Posted October 6, 2015 Posted October 6, 2015 Hey, I'm trying to get some drives mapped and I'd like to know how this format is called- %USERNAME%- it displays the current logon username. Is there a % that would just display surname or first name? I tried doing %FIRSTNAME% and %LASTNAME% but it doesn't work. Help! :<
blu4 Posted October 6, 2015 Author Posted October 6, 2015 %USERNAME% displays as the username however, the %DISPLAYNAME% just shows up as %DISPLAYNAME% on the mapped drive. I made sure that the field in AD is not empty..
halbaradkenafin Posted October 6, 2015 Posted October 6, 2015 How are you trying to map the drives? GPO should map with %DisplayName% as a variable.
fairm010 Posted October 6, 2015 Posted October 6, 2015 You're trying to get the mapped drive of the users home folder to show their name? I'd just rename the folder and update its AD path tbh. 1
blu4 Posted October 6, 2015 Author Posted October 6, 2015 (edited) I've got 600 users :/ I don't want to use the AD path in the user properties because it show the server details. The GPO solves that issue. the format I use for John Smith is 13smithj. The data path is \\data\user\13smithj. So I use the \\data\user\%USERNAME% to fetch the folder path but I'd like it to display their surname/lastname in file explorer instead of their username. I hope you know what I'm trying to achieve. If this isn't possible, I'll just stick with the username. I'm trying to get this working: Edited October 6, 2015 by blu4
fairm010 Posted October 6, 2015 Posted October 6, 2015 I see. I looked into this and gave up as it broke folder redirection and I cant remember why.
MattDLEA Posted October 6, 2015 Posted October 6, 2015 if you click in label as text box and press F3 what happens?
blu4 Posted October 6, 2015 Author Posted October 6, 2015 A variable box comes up. There is no Display Name option. I just finished googling around and apparently there is no easy way of doing this. A long-winded way is to mess around with scripts and registry edits but I can't be bothered. %USERNAME% it is. Thanks for all the input guys.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now