Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

copy user profile

Posted on 2007-03-29
3
Medium Priority
?
183 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 70

Accepted Solution

by:
KCTS earned 1000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
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…
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…

618 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