?
Solved

copy user profile

Posted on 2007-03-29
3
Medium Priority
?
180 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

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…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
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…

771 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