Windows Thread, Login script problem in Technical; I've been pulling my hair out on this one all day - 2003/XP network, in the Student GPO a login ...
-
27th January 2006, 05:00 PM #1 Login script problem
I've been pulling my hair out on this one all day - 2003/XP network, in the Student GPO a login script is supposed to be run that sets all printers using a simple "if a text file then printui.dll" type command. Today though - no students appear to be running the login script at all. I haven't changed the script or the location (NETLOGON share), or permissions though logged in as student I can't browse to NETLOGON anymore - I get a "Access to resource <folder> has been disallowed" error. If anyone has an idea of what to check next - I'd much appreciate hearing it. One other thing I noticed while doing this - the NETLOGON folder on one of the other servers is not syncing up to the main one now either...don't know if thats connected...
Cheers.
-
-
IDG Tech News
-
27th January 2006, 05:08 PM #2 Re: Login script problem
Is there any reason why you don't leave the script in the GPO?
-
-
27th January 2006, 05:09 PM #3 Re: Login script problem
Have you checked the event logs in both servers? This is a good starting point. Use this with eventid.net and you should be able to work out whats up.
fooby
-
-
27th January 2006, 05:23 PM #4
-
-
27th January 2006, 07:13 PM #5 Re: Login script problem

Originally Posted by
ajbritton Is there any reason why you don't leave the script in the GPO?
Not at all - I didn't realise you could - how do you do that?
-
-
27th January 2006, 08:58 PM #6 Re: Login script problem
Use the gpmc
-
-
27th January 2006, 11:18 PM #7 Re: Login script problem

Originally Posted by
SpuffMonkey 
Originally Posted by
ajbritton Is there any reason why you don't leave the script in the GPO?
Not at all - I didn't realise you could - how do you do that?
Easy... Go to GP editor, User Config, Windows Settings, Scripts, Logon, properties, then I think it's 'show files...'. This will bring up an explorer window. Drag the files in here then close the window. No when you click 'add', you should see the script.
-
-
28th January 2006, 01:05 AM #8 Re: Login script problem

Originally Posted by
ajbritton 
Originally Posted by
SpuffMonkey 
Originally Posted by
ajbritton Is there any reason why you don't leave the script in the GPO?
Not at all - I didn't realise you could - how do you do that?
Easy... Go to
GP editor, User Config, Windows Settings, Scripts, Logon, properties, then I think it's 'show files...'. This will bring up an explorer window. Drag the files in here then close the window. No when you click 'add', you should see the script.
Ta - I'll give it a go - coz its been driving me crazy today.
-
-
30th January 2006, 12:48 PM #9 Re: Login script problem
OK - I put the script within AD - and still nothing - first statement is an echo and a pause - so its not even getting that far (I guess) - I've made sure scripts are processed in the foreground. I've created a shortcut to the original script in a student login area and can run it fine from there - so its not a permissions problem. I've run the GP Modelling - which shows the correct GPOs should be applying - can anyone think of anything else that could be causing this problem??
-
-
30th January 2006, 12:55 PM #10 Re: Login script problem
What about using the GP Results wizard in the GPMC. Does that show anything as broken?
-
-
30th January 2006, 02:05 PM #11 Re: Login script problem
When in doubt, I try changing a few things to see what happens..
Try running a logon script of a different type...
Create a simple .VBS logon script eg.
Code:
msgbox "I'm the logon script"
Save it as TEST.VBS and test it by double clicking. You should see a simple message box. Now add it to your GPO as a logon script (I would remove the link to the original so that TEST.VBS is the only script). Now try the logon and see if it works.
-
-
30th January 2006, 03:50 PM #12 Re: Login script problem
OK - the GP Results Wizard shows everything applying OK. AJBs test.vbs worked fine! But setting back to a .bat file didn't work again &*^%^%
Could I have denied running .bat files in some way that I haven't realised?
-
-
30th January 2006, 03:50 PM #13 Re: Login script problem
OK - the GP Results Wizard shows everything applying OK. AJBs test.vbs worked fine! But setting back to a .bat file didn't work again &*^%^%
Could I have denied running .bat files in some way that I haven't realised?
-
-
30th January 2006, 06:29 PM #14 Re: Login script problem
what happens if you just do the same with the bat logon file or even if you just try to execute a bat file whilst logged into a local admin account on a client machine ( Does the bat file execute or does it just sit in the processes but doesnt do anything or what exactly ) ??
-
-
30th January 2006, 06:37 PM #15
-
SHARE:
Similar Threads
-
By mattpant in forum Windows
Replies: 10
Last Post: 11th August 2011, 09:24 PM
-
By Jackd in forum Windows
Replies: 2
Last Post: 24th December 2009, 02:59 PM
-
By gshaw in forum Windows
Replies: 11
Last Post: 10th June 2009, 06:47 PM
-
By ArchersIT in forum Windows
Replies: 4
Last Post: 11th July 2007, 12:17 PM
-
Replies: 4
Last Post: 23rd November 2006, 10:33 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules