Follow via:
RSS
Email Alert
Question
0 Votes
+ -

How can I create an added folder in AD for each user if it doesn't exist.

Hi all and thanks in advance! I have gotten thrown into a server setup for our school. They had an old server 2003 system where no one was actually logging into the domain. We have put into place a Server 2008 R2 system. I have managed to get the teachers and students into the users. I have mapped the documents to the share file on the server. (U:) All of this seems to be working ok. They also have a multifunction scanner printer that they use. The scanner is set up so the teachers can scan a document to a folder on the server. Before the server upgrade, I put a subfolder inside, 1 for each teacher. I mapped to those folders in the printer so they are able to scan to their own folder. Then I manually created a shortcut to each teacher's desktop to their respective scan folder. I have decided that I need to create a folder in each of their mapped documents folder so they will have access to only their scan folder. I can't seem to find a script that will create a scan folder in their mapped documents folder, when they log on to their profile, if one doesn't exist. You can tell I am really new to this but I am all they have to work with. Any Ideas would be greatly appreciated.
28th Dec

Answers (1)

0 Votes
+ -
Sure
So each user has a U: drive mapped that they use to store their personal documents? Well a simple way would be to add the following to a logon script:
mkdir U:\Scans

If you'd rather use group policy you can. User Configuration - Preferences - Windows Settings - Folders. It sounds like this will invalidate the desktop shortcuts you have created. You can do this using the Shortcuts section in the same GPO container mentioned above.
2nd Jan

Replies

Thank you for the good advise. I will get all of this down yet!
Buster55 6th Jan
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.