I have a Powershell script I've been writing that builds a Windows 7 PC - adding different user accounts, adding our applications, adding SSH, et al and I'm almost finished, but running into one little snag. One of the last things I need to do is
copy over the different Desktops for each of our added users. I thought it would be a simple Copy command of all the items needed for each user, but I get an error that "\Users\username\Desktop does not exist." I'm finding that's because
each user's individual Home Directory is not created until the first time they login. Is there a way to have Windows 7 activate/create each user's Desktop without having to logout as Administrator and login under and every individual user account?
What is it that creates "Preparing your desktop" the very first time you login as a user? \Users\Public? \Users\Default? And is there some way for me to get around the login and have the directories created via a Command at the
Command Line or a Reg Key (or if someone knows a way in Powershell)?
↧