• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1040
  • Last Modified:

Mapping Drives using Item level Targeting based on Computer Netbios Name using variable logic

Below is an example of what I am looking to accomplish using Windows 2008 group policy item level targeting. The key is that I would like to do this without having to create a seperate item level targeted map entry for every single computer. I wopuld like to simply create one entry using variables and logic. This is something that I presently have in place using scripting but would like to move to eliminate the logon script and use GP exclusively.

- Computer names are computer1, computer2, computer3,... etc.
- Shares on server are computer1$, computer2$, computer3$,...etc.

When a user logs on to computer 1 they receive the mapped drive computer1$, computer2 gets computer2$, and so on.
0
MonkShines
Asked:
MonkShines
  • 3
  • 2
1 Solution
 
McKnifeCommented:
Hi.

You leave out to tell us if you have already tried it. I suppose \\server\%computername%$ would work when entered at the "Location" line.
0
 
MonkShinesAuthor Commented:
I figured it out .... A hidden root share needed to be created and  F3 item level targeting to the share and %computername% needed to done using the REPLACE on the location field with the "resolve variable" attribute set
0
 
MonkShinesAuthor Commented:
There was only one other comment and it did not have any real detail to it and did not help the solution
0
 
MonkShinesAuthor Commented:
agreed
0
 
McKnifeCommented:
No real detail?
I told you to populate the location field of the group policy preferences drive map item with \\server\%computername%$ which works as expected. No further settings needed. Next time feel free to ask if you don't understand a proposed solution :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now