Solved

copy user profile

Posted on 2007-03-29
3
173 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Edit Registry Key via Batch File 8 43
.csv files 5 79
SCCM And Branchcache Server 1 35
Inventory equipment in the office 7 50
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 …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

12 Experts available now in Live!

Get 1:1 Help Now