Hi All,
Is there any way to copy all the profiles in a NT workstation
including that of logged on user.As NT doesn't allow copying of
current profile giving a sharing violation.How can this b achieved by
scripting.
We can achieve this in windows 2000 by run as administrator but i fear
that this method doesn't work on NT.
all suggestions and inputs are welcomed..
regards
gaurav

Re: copying profile in NT by Dave

Dave
Wed Dec 24 09:18:52 CST 2003

The reason you can't copy the profile you're logged on with is ntuser.dat
(the current user hive) is loaded and still in use.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
http://www.microsoft.com/protect.

"Gaurav" wrote:
| Hi All,
| Is there any way to copy all the profiles in a NT workstation
| including that of logged on user.As NT doesn't allow copying of
| current profile giving a sharing violation.How can this b achieved by
| scripting.
| We can achieve this in windows 2000 by run as administrator but i fear
| that this method doesn't work on NT.
| all suggestions and inputs are welcomed..
| regards
| gaurav



Re: copying profile in NT by gaurav081

gaurav081
Mon Dec 29 09:28:52 CST 2003

Sir,
That's correct and i'm aware of that but needs to find out a way to do
so, and just a small clarification. Is there any way to put the script
in shutdown process(as in startup) and will that work.
Thanks
Gaurav

"Dave Patrick" <mail@Nospam.DSPatrick.com> wrote in message news:<O9m4DFjyDHA.1060@TK2MSFTNGP12.phx.gbl>...
> The reason you can't copy the profile you're logged on with is ntuser.dat
> (the current user hive) is loaded and still in use.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft MVP [Windows NT/2000 Operating Systems]
> http://www.microsoft.com/protect.
>
> "Gaurav" wrote:
> | Hi All,
> | Is there any way to copy all the profiles in a NT workstation
> | including that of logged on user.As NT doesn't allow copying of
> | current profile giving a sharing violation.How can this b achieved by
> | scripting.
> | We can achieve this in windows 2000 by run as administrator but i fear
> | that this method doesn't work on NT.
> | all suggestions and inputs are welcomed..
> | regards
> | gaurav

Re: copying profile in NT by McKirahan

McKirahan
Mon Dec 29 09:46:08 CST 2003

"Gaurav" <gaurav081@yahoo.co.in> wrote in message
news:36c62b36.0312290728.11792c79@posting.google.com...
> Sir,
> That's correct and i'm aware of that but needs to find out a way to do
> so, and just a small clarification. Is there any way to put the script
> in shutdown process(as in startup) and will that work.
> Thanks
> Gaurav

Perhaps you could call your script at Startup (before a user logs on).

Add an entry to the registry under (for Win98 anyway):

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

Using RegEdit, navigate to the above then right-click on "Run", select
"New", select "String Value"...

If your script is in the Windows folder (for Win98 anyway) you don't need to
enter a path. Look at other "Run" entries for examples if you need to enter
a path. This new entry will be displayed under the "Startup" tab via
"msconfig".



Re: copying profile in NT by Dave

Dave
Mon Dec 29 09:56:55 CST 2003

AFAIK the "Run" keys don't initialize till the logon process has already
started. But then I know little of win9x

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
http://www.microsoft.com/protect.

"McKirahan" wrote:
| Perhaps you could call your script at Startup (before a user logs on).
|
| Add an entry to the registry under (for Win98 anyway):
|
| HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
|
| Using RegEdit, navigate to the above then right-click on "Run", select
| "New", select "String Value"...
|
| If your script is in the Windows folder (for Win98 anyway) you don't need
to
| enter a path. Look at other "Run" entries for examples if you need to
enter
| a path. This new entry will be displayed under the "Startup" tab via
| "msconfig".
|
|



Re: copying profile in NT by Dave

Dave
Mon Dec 29 10:42:15 CST 2003

You'll just have to try it. I don't know if the logoff process will have
completed before the shutdown process initializes.
Use the Group policy editor;
%windir%\system32\gpedit.msc
Computer Configuration\Windows Settings\Scripts\Shutdown

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
http://www.microsoft.com/protect.

"Gaurav" wrote:
| Sir,
| That's correct and i'm aware of that but needs to find out a way to do
| so, and just a small clarification. Is there any way to put the script
| in shutdown process(as in startup) and will that work.
| Thanks
| Gaurav