Solved

copy user profile

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

726 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