Registered users    
MembershipMembership:
Latest New UserLatest:Randy Walker
New TodayNew Today:1
New YesterdayNew Yesterday:5
User CountOverall:23338

Private messaging    
You must be logged in to use this module.
Top 10 posters    
NamePosts
Mariette Knap12903
Marina Roos12523
Eriq Neale2114
Stan Guinn1914
Michael Patrick1913
Robert Pearman1771
Nick Pieters1425
Stewart Brown617
william warren603
Kevin D.579
Welcome unauthorized visitor    
If you want to join us in the discussions on this forum you need to register first. Registration is free! If you are already a registered user please login to join the forum.
Small Business Server Support Forum    
Subject: GPO Logon script not being applied
Prev Next
You are not authorized to post a reply.

Author Messages
Milos Mandic User is Offline
United Kingdom
Member since
11/19/2006

Registered Users
Posts: 27

6/13/2007 12:37 PM  
After having some problems with printers not appearing when a user logs on, I decided to write  a vbs script and have it run each time users log on to map the required printers. I have tried the script on the workstation when the user is logged on and it works fine. The problem is that the script does not run when used as a GPO Logon script.

I have applied the logon script to two policies:

1. One for all computers , under MyBusiness > Computers > SBS Computers > Clients (I created a new OU and moved all the office computers to that OU)
2. One under My Business > Users > SBS Users> Regular Users (also a custom OU where a moved a subset of the users)

The script is:

Dim net
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\server01\printer1"
net.AddWindowsPrinterConnection "\\server01\printer2"
net.SetDefaultPrinter "\\server01\printer1"

It was placed in the appropriate Logon folder under the policy.

Any suggestions?
Mariette Knap User is Offline
The Netherlands
Member since
3/24/2005

Forum Admins
Posts: 12903

6/13/2007 12:58 PM  
Milos,
 
Any policy related errors on those workstations?

Mariëtte Knap Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
Milos Mandic User is Offline
United Kingdom
Member since
11/19/2006

Registered Users
Posts: 27

6/13/2007 01:03 PM  
Hi Mariette,

how would I check that? is it using rsop.mmc or gpresult?

Other policy seetings get applied fine - at least for the user policies. Does the user have to have special rights?
Marina Roos User is Offline
The Netherlands
Member since
3/24/2005

Microsoft MVP
Posts: 12523

6/23/2007 07:14 PM  
Hi Milos,
 
Use rsop.msc on the workstation.

Marina Roos Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
You are not authorized to post a reply.
Forums > Microsoft Small Business Server 2003 & 2000 > Workstations > GPO Logon script not being applied



ActiveForums 3.7
Forum policy    
These Discussion Forums are dedicated to the discussion of the Small Business Server and related server and client software. For the benefit of the community please observe the following posting guidelines:
  1. No Advertising. This includes promotion of commercial products and non-commercial products which are not directly related to Small Business Server and related server and client software.
  2. No Flaming or Trolling.
  3. No Profanity, Racism, or Prejudice.
  4. Site Moderators have the final word on approving/removing a thread or post or comment.