Best way to script redirect of user’s folders and add printers…

Desktop management applications
Microsoft Windows
SQL Server
Visual Basic
I wanted to see which way is the best way to script the redirection of user folders. I am running Windows sever 2003 and XP for workstations. I wanted to know if there was a way to use a variable in a script in order to have Windows automatially redirect the location of my documents, local settings, etc for each user. I want all this information to be located on the sever. I also want to script the installation of printers. I will have both networked printers using TCP/IP and shared printers off of workstations. What is the best way to script these? would it be a good idea to share the networked printes off of the DC? and have it act as a print server? or just have the workstations print directly to the networked printers. Thanks for everyone's help.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Is your serve a 2003 R2?

I would not script redirecting users folders. You say that your workstations are XP, then use group policy and folder redirection. I would not use the Home Folder option in the users profile to make a home directory unless you are absolutely in control of how share and NTFS permissions work. When you use group policy for folder redirection you can use the %username% variable to help. As an example, you would want to make the folder called users and share it out with domain users with full access. When the system generates the individual folders under the user share, it will establish the correct permission which will allow only that user (and maybe the administrator) to have access to their folder.

For printers, try this MSKBA

If you have a company public folder that all domain users, (people who logon to your domain) you can use a logon.bat file with the net use X: \serversharenamefolder just ensure to setup the share and NTFS permissions correctly. I usually give all domain users full share permissions then restrict the NTFS permission as necessary.

Good luck


Discuss This Question: 2  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Skepticals
    Yes, I am using Windows Server 2003 RC2. I will look into the things you suggested. Thank you for the advice.
    0 pointsBadges:
  • Skepticals
    Thank you for the information. I wanted to share all the printers from one source, but I wasn't sure if that was the best way or not. I will look into the new features of R2.
    0 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: