Solved

copy user profile

Posted on 2007-03-29
3
176 Views
Last Modified: 2010-04-16
I have batch file that will take user input – login name -  and copy files from profile <loginname> to profile <loginname.machinename>.

The question is – how can I run that batch file before the profile <loginname> loads?

I tried including it in wininit.ini -  no go.

Win.ini – also no go -  it loads after the profile is loaded.

Let me know if you can find a solution. I am sure it is possible -  just not sure how.

It needs to be done programmatically – I can push any file to user’s machine for execution – but I can not trust the sure to do anything other them provide username input.

There is 500 machines so I can’t do it manually either.

Thanks
0
Comment
Question by:MarcinKG
3 Comments
 
LVL 70

Accepted Solution

by:
KCTS earned 250 total points
ID: 18817665
You shouldn't copy profiles like this they will not have the correct permissions. You can copy profiles by right clicking 'My Computer' and selecting Advanced and click on SETTINGS under User profiles.
Select the profile and then COPY TO another user not forgetting to change the 'Permitted to use' optiion to 'Everyone' so that the permissons are OK.

If you log in as a user and then create a profile that you want to use, you can then log out, log back in as adminisrator and then COPY TO c:\Documents and Settings\Default User and set the permissions as described above. This profile will automatically be copied to all new users when they log on.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now