Jump to content

Recommended Posts

Posted

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! :<

Posted
%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..
Posted (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:

 

Untitled.png

Edited by blu4
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...