Re: Startup Script To Map Printer depending on OU

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Mike.

We've got it sorted now. What we've done is create a batch file for each
printer that maps it to the local machine when a user logs on. Then, using
MSI's, we send out the batch files to the startup folders on each machine.

A bit of a crude way to do it but it works ok!

Thanks for your help,

Pete

"Miha Pihler [MVP]" wrote:

> Pete,
>
> Can you post the script that you are using...
>
> --
> Mike
> Microsoft MVP - Windows Security
>
> "Pete Appleyard" <PeteAppleyard@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:5359CA4D-88D7-4384-9514-ADE437227C56@xxxxxxxxxxxxxxxx
> > Hi Mike,
> >
> > Thanks for your quick reply.
> >
> > I have checked the logs and RSoP and can't see anything out of the
> > ordinary.
> > The RSoP shows that the policy is filtering down properly.
> >
> > We are running Server 2003 with XP on all clients.
> >
> > Our script works if you run it while logged on to the computer, it's just
> > trying to run it as a startup script that fails.
> >
> > Regards,
> >
> > Pete
> >
> > "Miha Pihler [MVP]" wrote:
> >
> >> Hi Pete,
> >>
> >> If you are running a startup script are computer accounts in this OU
> >> where
> >> you applied the policy?
> >>
> >> On which operating system are you running these scripts? Windows XP? Can
> >> you
> >> check RSoP to see if the policy gets applied?
> >> Also check event logs (System and Application) for any errors.
> >>
> >> --
> >> Mike
> >> Microsoft MVP - Windows Security
> >>
> >> "Pete Appleyard" <PeteAppleyard@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
> >> message
> >> news:1AB34CAC-DC46-4261-8A6F-C59132B4B474@xxxxxxxxxxxxxxxx
> >> > Hi.
> >> >
> >> > Me and my colleague have been trying for a while now to create a script
> >> > to
> >> > add a printer to a computer depending on the OU the computer's in.
> >> >
> >> > We have suceffully created a bath file that adds a printer to the
> >> > machine.
> >> > This works fine. We can also add it to the logon scripts so that it
> >> > runs
> >> > per
> >> > user.
> >> >
> >> > However, when we create a startup script in a Group Policy for an OU,
> >> > the
> >> > script doesn't work.
> >> >
> >> > I was just wondering if there was another way to do this that anyone
> >> > knows
> >> > of. I can't seem to find anything at all on the net about it.
> >> >
> >> > Thanks in advance for any help.
> >> >
> >> > Cheers,
> >> >
> >> > Pete Appleyard
> >>
> >>
> >>
>
>
>
.



Relevant Pages

  • Re: Identifying Users through AD
    ... So, if someone in accounts logs on, they go straight ... Did you mean Microsoft Access? ... you'd have to scan the local machine for the executable. ... Script would work. ...
    (microsoft.public.windows.server.active_directory)
  • Help writing a back up script
    ... I need to back up some data to remote ftp server on ... the local machine is xp. ... how can I write a script that ... logs in to the ftp,deletes a a file in the ftp server ...
    (Security-Basics)
  • [kde] Re: plasma-desktop (KDE factory) acting up?
    ... example is another logging plasmoid that shows the output of a little ... script that outputs the state of my four drives every ten seconds. ... I have the group set to wheel for the logs I want to be read by trusted ... folder with pictures of people, and a subfolder with pictures of myself. ...
    (KDE)
  • RE: SP1 Install Errors
    ... I have received your logs files and emails. ... time difference between us, and as you know, SP1 log is a large file and we ... First attempt at executing script sp1_serv_uni.sql failed; ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • RE: Domain Startup Scripting
    ... the following command always works and logs the appropriate info ... above which tells me it is accessing the script, ... could help me with troubleshooting a domain startup script routine. ... @echo off ...
    (microsoft.public.windows.server.scripting)