Here's another one guys, I hope someone can help :)
I'm completely familiar with the NET USE command for setting up mapped folders and redirected LPT ports.
I have a more specific request though. Could anyone tell me if there is any syntax I can use within a line that redirects the LPT port to a location based on the specific users machine name? As an example, I want the machine 'JOHN-SMITH' to do the following:
NET USE LPT1 \\JOHN-SMITH\HPPRINTER\
But I don't want to have to do it for each user manually in this way. I want to roll out a GPO that will do something to the effect of:
NET USE LPT1 \\USERSMACHINE\HPPRINTER\
So that when the system logs in and gets the script from the GPO, it automatically maps the LPT port having read the user machine name. I hope this makes sense. Perhaps some kind person could advise?