|
|
|
date: Thu, 2 Jul 2009 06:25:01 -0700,
group: microsoft.public.windowsxp.print_fax
back
Re: Relocating a networked printer to a different location & name
It's possible the network is not fully initialized when the script kicks in.
If you have Fast User Logon enabled I'd almost guarantee it. If the
printers where added as per machine connections using rundll32 and printui
interfaces, the printers will be sitting in the registry under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Connections
you will need to use rundll32 to remove them
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1
This posting is provided "AS IS" with no warranties, and confers no rights.
"Q" wrote in message
news:A85393DE-AD62-451F-8B92-60953D79C8E1@microsoft.com...
> Hi Alan,
>
> I'm running into an issue when testing this...
>
> When I execute the script while logged into the computer it works without
> issues. When I set it up to run as a start up script, the script executes,
> but when I login, nothing has changed. (the old printers are still there)
>
> I wasn't at this particular company when the computer image was created,
> but
> I'm suspecting that the printers were added to the Default user profile,
> and
> whenever someone logs in, the profile is being copied therefore adding the
> printers to the person logging in.
>
> Could this be whats actually happening? If so, what would I have to do to
> get it to work?
>
>
> Regards
> Quinton
>
date: Thu, 9 Jul 2009 09:03:19 -0700
author: Alan Morris [MSFT]
Re: Relocating a networked printer to a different location & name
Hi Alan, we run startup scripts all the time, so the network has to be fully
initialized. (We copy stuff to the PC's all the time)
I checked the registry and there is no /connections.
We have a profile called "make profile" which we alter, then copy it to the
Default user profile. I am currently logging in as the make profile account,
making the necessary printer adjustments, then logging out, then taking the
ntuser.dat file and copying it to
"Alan Morris [MSFT]" wrote:
> It's possible the network is not fully initialized when the script kicks in.
> If you have Fast User Logon enabled I'd almost guarantee it. If the
> printers where added as per machine connections using rundll32 and printui
> interfaces, the printers will be sitting in the registry under
>
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Connections
>
> you will need to use rundll32 to remove them
>
>
>
> --
> Alan Morris
> Windows Printing Team
> Search the Microsoft Knowledge Base here:
> http://support.microsoft.com/search/?adv=1
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Q" wrote in message
> news:A85393DE-AD62-451F-8B92-60953D79C8E1@microsoft.com...
> > Hi Alan,
> >
> > I'm running into an issue when testing this...
> >
> > When I execute the script while logged into the computer it works without
> > issues. When I set it up to run as a start up script, the script executes,
> > but when I login, nothing has changed. (the old printers are still there)
> >
> > I wasn't at this particular company when the computer image was created,
> > but
> > I'm suspecting that the printers were added to the Default user profile,
> > and
> > whenever someone logs in, the profile is being copied therefore adding the
> > printers to the person logging in.
> >
> > Could this be whats actually happening? If so, what would I have to do to the default user profile. I got it working with a manual copy to a test machine. (printers were correct), but when I created the startup script to copy the file, its not working... (could be a typo or somthing) I'm just currently working on it right now.
> > get it to work?
> >
> >
> > Regards
> > Quinton
> >
>
>
>
date: Thu, 9 Jul 2009 09:50:01 -0700
author: Q
Re: Relocating a networked printer to a different location & name
The ntuser.dat file replacement seem to be working on my initial test. I have
to do a few more tests to make sure everything is ok.
"Alan Morris [MSFT]" wrote:
> It's possible the network is not fully initialized when the script kicks in.
> If you have Fast User Logon enabled I'd almost guarantee it. If the
> printers where added as per machine connections using rundll32 and printui
> interfaces, the printers will be sitting in the registry under
>
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Connections
>
> you will need to use rundll32 to remove them
>
>
>
> --
> Alan Morris
> Windows Printing Team
> Search the Microsoft Knowledge Base here:
> http://support.microsoft.com/search/?adv=1
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Q" wrote in message
> news:A85393DE-AD62-451F-8B92-60953D79C8E1@microsoft.com...
> > Hi Alan,
> >
> > I'm running into an issue when testing this...
> >
> > When I execute the script while logged into the computer it works without
> > issues. When I set it up to run as a start up script, the script executes,
> > but when I login, nothing has changed. (the old printers are still there)
> >
> > I wasn't at this particular company when the computer image was created,
> > but
> > I'm suspecting that the printers were added to the Default user profile,
> > and
> > whenever someone logs in, the profile is being copied therefore adding the
> > printers to the person logging in.
> >
> > Could this be whats actually happening? If so, what would I have to do to
> > get it to work?
> >
> >
> > Regards
> > Quinton
> >
>
>
>
date: Thu, 9 Jul 2009 10:47:17 -0700
author: Q
|
|