Question

Zenworks Group policy not applying on first login with "user" rights

Asked by: mogz

Hi there,

We currently run a Netware 6.5 environment (with the latest service pack) and use group policies and DLU's in the in the following way:

Staff: DLU with user rights, No group policy assigned to user OU
Students: DLU with user rights, group policy assigned as a user policy.
All workstations: Group policy assigned as a workstation policy with the computer and user boxes ticked in the applied settings types window. They are set to impersonate the interactive user. (also tried unsecure system but it does work either)

We have the following problem:

When staff login for the first time ever to a particular machine the group policy doesnt apply (and therefore logon scripts dont run, restrictions dont work etc). The second time and subsequent logins will usually work however sometimes they dont and I cannot figure out why. We have found that setting the staff member to be an administrator allows the policy to be applied, however we want them to be users, not administrators.

Students work as expected.

The reason we do this is because we have all staff as members of a user package that applies  a DLU. We have laptops and desktops and we dont want to apply a group policy to the laptop as it is owned by the staff member. Hence we apply the group policy through a workstation package which is applied to desktops only.

Basically I would like a solution on how to get the policy applying on first login or a solution where we can apply the group policy to a USER OU but it skips the laptops.

Any help would be much appreciated

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-07-06 at 17:11:19ID23542184
Tags

Novell

,

Zenworks

,

7.0.1.0

,

Microsoft Windows XP SP2

Topic

Novell Netware Network Software

Participating Experts
2
Points
0
Comments
11

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Zenworks 4 lockdown policy
    Hi all We have just recently moved (like last week) to Zenworks 4 from 3.2, as we are in the process of locking down our desktops so that users cannot install software themselves, the OS is Windows XP, an image has been created and we are now preparing group policies for the...
  2. Zenworks: ghosting & importing ws again
    Netware 6.5 - Zenworks for Desktops 7.0 I think I have it running decent. It imports the workstations into the EDir OU that I have setup. However, when I have to wipe a system and ghost it again with an image from another system but identical system, it will not import the ...
  3. Installing Zenworks 6.5sp2 as an Unsecure System Us…
    Hello All, This is a bit complicated because this problem falls between an *.msi file and Zenworks 3.2 delivery. We are currently deploying Zenworks 6.5 sp2 to the environment via a NAL object as an Unsecure System User. Workstations that are registered have been receiving th...
  4. Zenworks Policy Not Working on One Computer
    Netware 6.5 - Zenwork Desktop Management 7 We have been using desktop user policies all year without any problem. When users login, they either get the "student," "faculty," or "admin," policy downloaded to their desktop. For some unknown reason...
  5. ZENWorks 7.0 Middle Tier Servers - How Many and Wh…
    My school district is getting ready to setup ZENWorks 7.0 and I have some questions that I hope someone can help with. Our district consists of 75 sites, each one having it's own Novell server. 20 of the 75 have their own Windows server. When it comes to my Middle Tier server...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: ShineOnPosted on 2008-07-06 at 18:07:38ID: 21942225

Policies associated to Workstations via Workstation policy packages only apply at first authentication of the*workstation*
object, because they run as the workstation.  They only truly work when associated to workstations.  If you associate a workstation package to a user, it will be inconsistently applied.  That's what the Novell Client32 "workstation login event" setting is for - it allows user policies to refresh at user login, even if the login doesn't happen pre-desktop as normal.  I'd guess that might be where some of the other inconsistencies are coming from.  

What happens if the staff user shuts down and reboots the PC before logging in?  Does everything apply properly then? - If so, it's probably related to the "login event" Client32 setting at default (off) and the user doing a login as new user instead of a reboot.

Do you have the workstation manager agent running on the staff's personal laptops?  If not, then don't worry about policy applying to their laptops.  You have to have the workstation manager agent running on a PC for ZEN group policy to take effect.  

If you turn off the workstation manager agent on the staff's personal laptops do they then have problems with anything else?  If not, handle it that way, and instead of trying to apply local user administrative group policies via workstation packages, have the staff policy package be driven simply via user packages.

 

by: mogzPosted on 2008-07-06 at 18:39:01ID: 21942337

Hi ShineOn,

Thanks for the advice - I just need some clarification though in regards to where you said:
"They only truly work when associated to workstations.  If you associate a workstation package to a user, it will be inconsistently applied. "
The group policy for staff is associated with the desktops themselves, not to the users. (ie it is a workstation policy assigned to our workstations folder). We just have the user and computer settings types both configured and its the user settings that dont apply. Does this also apply to what you said?

Also, where about might I find more information on the workstation login event?

As for turning off the workstation manager, that might be a good path to go down, I would just need to look at the way we send out printers.. We would probably manually kick them out via the web interface of iPrint

Thanks for the help so far

 

by: ShineOnPosted on 2008-07-06 at 20:18:34ID: 21942597

Workstation-associated policies apply to workstations.  User group policies associated with a workstation apply regardless - at initial workstation authentication time.  

Do you have the policies set to be persistent (remain in effect after logout) or transient (only in effect for the current session?)

As to the client feature, what I was referring to is in the Novell Client properties, Advanced Settings tab, all the way down at the bottom of the list - "Workstation Manager Login Event."  It defaults to Off.

The description reads:
"Enables/Disables Novell Client login event notifications to be sent to Workstation Manager.  These events allow the ZENworks Policy Scheduler to launch policies scheduled for these event types.  If you have disabled the Initial Novell Login or users login to eDirectory from the red N menu, enable this setting so that the login events are forwarded to Workstation Manager.'

What that means is, policy packages that are scheduled to apply at Login (login event) will not apply except during the initial login from the NWGINA immediately following a fresh boot, unless you set this setting to "On."

If you set it to "On" then a login outside the initial, NWGINA-based login would also be a trigger event for policies.  It's my understanding that ZENworks Local Group Policy and DLU are both login-event driven, so any subsequent login after the initial-boot NWGINA login will not trigger application of Local Group Policy or DLU, unless you have this set to "On."

However, I'm not certain that setting that to "On" will affect policies applied through workstation association.  Those, if I'm not mistaken, only get applied at initial Workstation Object authentication - which actually takes place pre-Desktop.  I could be wrong - maybe the login event setting DOES affect Workstation Object associated policies as well as User Object  associated policies.

Another alternative to disabling Workstation Manager on the staff laptops is to have a Workstation Group for school desktops and a Workstation Group for laptops, and apply different policy packages to the two groups rather than to the Workstations OU.

 

by: mogzPosted on 2008-07-06 at 21:31:33ID: 21942747

Ok I just tried setting workstation manager login event to on but it made no difference unfortunately - the machine seems to login a bit faster though? I tried rebooting before logging on and that didnt help either

In regards to your first sentence in the post above:
"Workstation-associated policies apply to workstations.  User group policies associated with a workstation apply regardless - at initial workstation authentication time.  "
I just want to make sure we are on the same page with how things are associated.. - In our Policies OU, we have a zenworks User Policy that contains the DLU and is associated with the staff group. We then have a Workstation Policy that contains the Group Policy which has settings for Computer and User and this is associated with the workstation container. It is this workstation policy that is assigned to the workstations and is the one that should be setting the restrictions for users.

What Ive found in testing is that If I set the impersonation to be Interactive User, the Group policy doesnt apply at all, however if I set it to unsecure system it runs the login scripts (which are set in Group Policy\User Configuration) but doesnt apply the user desktop restrictions (ie remove control panel etc). Thats where Im most confused

I think perhaps the best way would be to remove workstation manager on the laptops as Im not sure how the two difference groups (one for desktops, one for laptops) would work. We currently don't have the laptops associated with the group policy.. they are only associated with the desktops and thats not applying properly.

It would be nice if there was a registry setting I could apply thats similar to DLUAllowed=0 for group policies for the workstation manager (we currently have that running on the laptops to ensure they dont get downgraded from administrators to users)

 

by: ShineOnPosted on 2008-07-07 at 09:47:17ID: 21946590

The workstation objects import to a workstation container.  You have a workstation policy package associated to that container.

If you create a couple of groups within the workstation container, of type "workstation group," you can assign the workstations that get the policy to one group, and assign the workstations that don't get the policy to another group, and only associate the policy to the "yes policy" group - and remove the association to the workstation container.  That way, all the workstations can be in the workstation OU regardless of whether they should get the restrictive policy, and the group membership can drive whether they get the restrictive policy or not.

What you're saying is that you have the user GP restrictions set via the workstation policy, and nothing but DLU associated to the user object, and you're running login scripts based on GP - which only work if you've got impersonation set to unsecure system.  That makes sense, now that I better understand what you're trying to do.

Let me start with this analysis, as I understand it.  This is not to be construed as fact - it's my interpretation and I may be off-base, but based on my experience this is what I see:

The workstation object is a user, in a way.  In order for a workstation package (or workstation-based app distribution) to work, the workstation object has to log in to eDirectory.  That happens pre-desktop - not at "person user" login time.  It should be able to globally set "user configuration" group policy, but it depends on how subsequent policy is applied and whether it's set to override or merge with the user-associated policy.

The process of DLU creates a new user profile on the computer, using the attributes set in the DLU package combined with the local "default user" profile.  If you don't have the "group policy loopback support" turned on for all the policy packages, I imagine it's possible for this new profile to ignore the user configuration GP settings associated to the Workstation object.

Having a user-associated policy package alonng with using the various settings that permit the user-associated GP to merge with the workstation-associated GP might get you more traction.

<Side note>
Why you're using the login script GP attribute is beyond me, but I suppose it should work.  It makes more sense to me, in a NetWare/eDirectory-based environment, to use the NetWare/eDirectory-based login scripts - they're faster, more efficient, easier to understand, and easier to manage.  Regardless, the best way to make sure a Windows-style user login script runs may be via user group policy, applied at the user level so the DLU profile gets it.  HOWEVER -
Where do you store the login scripts for the users that get called via GP login script setting?  It could be a permissions thing - it has to be where the Windows user always has access to it, regardless.  Maybe it works with user as local admin because the non-admin user doesn't have permissions to the login script location...
</Side note>


 

by: mogzPosted on 2008-07-07 at 21:20:36ID: 21950853

Thanks for the help so far.

The reason i'm using GP logon scripts and not the novell one is because I have a corresponding logout script that relies on the logon script running. I could have implemented the logon part of it through the edirectory based scripts but thought in the end it was easier to just put them both in the same place so they were easy to change.
The scripts sit in the policies folder which then gets copied to the local machine when the GP is implemented. (ie c:\windows\system32\grouppolicy\user\scripts\logon etc)..

The logon script creates a file in %USERPROFILE% so permissions is not an issue for either case of using interactive user or unsecure system and in if I run them manually after logging in they perform as expected.

The group policy loopback feature is something I looked at but didn't think would work. The way we do it here is to have all workstation recieve the staff group policy and then when students log in they have a user based GP that overrides the workstation one. My understanding is that if I turn on loopback the student GP will then not apply (as the students have heavier restrictions)

Im not as worried about the scripts not executing as I am about restrictions being applied. We don't want the staff accessing control panel etc and with the restrictions not applying with either interactive user or unsecure system im at a loss. Is there a way for me to apply the GP loopback in a way that the USER based GP is applied last rather than the Computer based GP?

When you say that the new user accounts dont get the policy without loopback turned on makes sense and possibly explains why it sometimes applies on the second login (staff accounts are not volatile). I guess the best path is to test the GP loopback or perhaps turn off workstation manager.. what do you think?

 

by: mogzPosted on 2008-07-13 at 22:40:15ID: 21995906

Hi ShineOn,

Sorry to take so long to give some feedback but heres what I've got so far:

Disabling Workstation manager also takes away the ability to remote control the machine as well as register it in the tree.. so thats unfortunately not an option for us.

Im now going to do some group policy loopback testing and am thinking of perhaps changing things around in the following way:

Assign a GP to the Staff User Profile (same as the students are) and then applying a Machine Group policy that is essentially blank to the Laptops that is in Group Policy Replace mode. Do you see any problems with this?

Am on holidays for the rest of the week unfortunatley so will report back about it next week

Thanks heaps for the help so far

 

by: mogzPosted on 2008-09-23 at 18:29:08ID: 22555906

Im going to just comment on the solution we ended up implementing.

Since we couldn't use group policy loopback (as described above) we have decided to go to a VNC path for the laptops only. We have disabled workstation manager so that the group policy is not applied as well as Novell remote Control and installed a VNC client on the machine that is password protected.

Whilst not a desirable solution, it has solved our problem of not allowing group policy to apply on the laptops and we can now move back to a user based Group Policy for all staff.

 

by: Computer101Posted on 2008-09-27 at 07:27:50ID: 22587282

PAQed with points refunded (250)

Computer101
EE Admin

 

by: mogzPosted on 2008-11-03 at 16:42:29ID: 22872760

I have found a solution - read somewhere but cannot remember where..

Deny access to C:\Windows\System32\GroupPolicy folder to that user account or alternatively apply it to all administrators. This will then not apply the group policy

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...