|
|
FAQ
Search
Memberlist
Usergroups
Register
Profile
Private messages
Log in
|
|
| Author |
Message |
tleaf61 Guest
|
Posted: Wed May 17, 2006 7:16 pm Post subject: Logon Script GPO Not working. |
|
|
Please Help:
I am trying to setup a VB script to run on Logon to the workstation to map
printers to use by all member machines of a particular OU. I am using GPO
to run the script via a Group Policy: Computer Configuration > Windows
Settings > Scripts (Srartup/Shutdown) > Startup Properties. I can run the
script after I am logged in and it maps the printers and loads their drivers
just fine, but will not launch auto upon machine startup. I have verified
that the "Domain Computers" Group as Read/Read Execute access to the script
location on the domain at:
" \\Our Domain.com\SysVol\Our Domain.com\Policies\{CCCEEBA7-6FAA-4301-9EF5-
24EBAA84E277}\Machine\Scripts\Startup\printers.vbs".
If you use Group Policy Results and run a query the Script component status
is successful.
Anyone have a simalar issue?
Tleaf61 |
|
| Back to top |
|
 |
|
|
Carlo Cacciafesta Guest
|
Posted: Wed May 17, 2006 7:42 pm Post subject: RE: Logon Script GPO Not working. |
|
|
"tleaf61" wrote:
| Quote: | Please Help:
I am trying to setup a VB script to run on Logon to the workstation to map
printers to use by all member machines of a particular OU. I am using GPO
to run the script via a Group Policy: Computer Configuration > Windows
Settings > Scripts (Srartup/Shutdown) > Startup Properties. I can run the
script after I am logged in and it maps the printers and loads their drivers
just fine, but will not launch auto upon machine startup. I have verified
that the "Domain Computers" Group as Read/Read Execute access to the script
location on the domain at:
" \\Our Domain.com\SysVol\Our Domain.com\Policies\{CCCEEBA7-6FAA-4301-9EF5-
24EBAA84E277}\Machine\Scripts\Startup\printers.vbs".
If you use Group Policy Results and run a query the Script component status
is successful.
Anyone have a simalar issue?
Tleaf61
|
A script that maps network printers must not be put into Computer
Configuration\(...)\Scripts(startup/shutdown) but it must be put into "User
Configuration\Windows Settings\Scripts\Logon.
Regards,
Carlo |
|
| Back to top |
|
 |
Richard Mueller Guest
|
Posted: Wed May 17, 2006 8:43 pm Post subject: Re: Logon Script GPO Not working. |
|
|
Perhaps the script should be run as a logon script, but I believe it could
run as a startup script. If it runs as a logon script, the user must have
permissions on the printer objects. If it runs as a startup script, the
computer account must have permissions on the printer objects. My guess is
that your startup script runs, but fails because the computer account lacks
permission to map the printers. In similar situations I grant permissions to
the "Domain Computers" group, rather than each computer object. By default,
all computers joined to the domain are members of "Domain Computers".
--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
"Carlo Cacciafesta" <CarloCacciafesta@discussions.microsoft.com> wrote in
message news:083E2242-8C01-43D7-BFA2-5CACFA4A3F7C@microsoft.com...
| Quote: | "tleaf61" wrote:
Please Help:
I am trying to setup a VB script to run on Logon to the workstation to
map
printers to use by all member machines of a particular OU. I am using
GPO
to run the script via a Group Policy: Computer Configuration > Windows
Settings > Scripts (Srartup/Shutdown) > Startup Properties. I can run the
script after I am logged in and it maps the printers and loads their
drivers
just fine, but will not launch auto upon machine startup. I have
verified
that the "Domain Computers" Group as Read/Read Execute access to the
script
location on the domain at:
" \\Our Domain.com\SysVol\Our
Domain.com\Policies\{CCCEEBA7-6FAA-4301-9EF5-
24EBAA84E277}\Machine\Scripts\Startup\printers.vbs".
If you use Group Policy Results and run a query the Script component
status
is successful.
Anyone have a simalar issue?
Tleaf61
A script that maps network printers must not be put into Computer
Configuration\(...)\Scripts(startup/shutdown) but it must be put into
"User
Configuration\Windows Settings\Scripts\Logon.
Regards,
Carlo |
|
|
| Back to top |
|
 |
|
|