Windows 7 Sysprep and domain questions

Hello all, I need some advice on my practice domain setup. I'm just trying to learn more about Win 2k8.

I've gotten fairly complete with my sysprep unattend script to automate everything I want. The only thing I'd like is to name the computer properly. I would like it to be like Computer1,2,3 ect ect in order. It'd be really nice if it could read Active Directory, or a database or something, and see which name was free for use by the image. Then I'd like it to actually join the domain.

Secondly I'd like it to use roaming profiles with storage given to Active Directory usage, but I've never done anything like that. So I'd appreciate the help in understanding how to do that in Windows 7 and Windows 2008.

Thanks for the help!
LVL 8
Casey WeaverNetwork EngineerAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
lloydclintonConnect With a Mentor Commented:
Roaming profiles are pretty simple.  You need to setup a shared folder on your server.  I always make it a hidden share.  Then if your user is John Smith, under your shared profiles folder create a jsmith folder.  On the permissions I always give Domain Admins and the User account for the user full control of the folder.  In Active Directory users and computers go to the profile tab.  In the profile field point it to:

\\yourserver\profiles$\jsmith

Log into the workstation as jsmith.
Log off and now the roaming profile should be created on the server.

If you are also using offline (cached files) make sure they are on a different volume that your roaming profiles.  
0
 
Adam BrownSr Solutions ArchitectCommented:
If you have Windows 2008, you can leverage Windows Deployment Services (WDS)  to deploy your workstation images. http://technet.microsoft.com/en-us/library/cc772106(WS.10).aspx has a lot of information on it. WDS has the ability to name computers according to a set scheme and automatically join them to the domain without needing an Answer file (Though you can still use an answer file with it). It will allow you to set a computer name scheme of Computer# and the # will increment for each system added. So if Computer1 exists when you deploy an image, it will name the computer Computer2.
0
 
Casey WeaverNetwork EngineerAuthor Commented:
lloydclinton, thanks for the info on for the roaming profile, that's much easier to understand now.

acbrown2010, the use of WDS has been attempted before, the problem however is its requirement to be pushed via PXE to each system and go through a complete install. The point of sysprep in this case is to template the setup. This machine is making VM's that are recycled every week or so for new experiments. There's way too much time wasted and disk thrashing to install a new system every single time it's needed.
0
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'.

 
Ivano ViolaSystem AdministratorCommented:
I actually use mysysprep instead of the installed sysprep.exe for my images.  Here is an article which explains the process:
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_7/A_3095-Windows-7-Sysprep.html

The reason I bring this up is because mysysprep allows for the following requested customizations:
# Auto computer name from a text file in a non-system drive.
# Auto computer name looked up from a mapping table
I use it more for the computer name prompting during sysprep. I also customized mysysprep with my organization's logo.

I've been using mysysprep for a couple of years without problems. I know some people don't like third party tools but this works great and sounds like something that may work for you.
http://www.tsaysoft.com/mysysprep2/

Worth looking at.

IV

0
 
Casey WeaverConnect With a Mentor Network EngineerAuthor Commented:
I ended up getting a database to work easy enough through powershell and mysql on Windows Server 2008. Thanks for the help everyone.
0
 
Casey WeaverNetwork EngineerAuthor Commented:
Thank you very much for the response on Roaming Profiles.
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.

All Courses

From novice to tech pro — start learning today.