+ Post New Thread
Page 1 of 4 1234 LastLast
Results 1 to 15 of 56
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 ...
  1. #1

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Posts
    2,192
    Thank Post
    53
    Thanked 270 Times in 178 Posts
    Rep Power
    131

    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.

  2. #2
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    Re: Login script problem

    Is there any reason why you don't leave the script in the GPO?

  3. #3
    fooby's Avatar
    Join Date
    Dec 2005
    Posts
    351
    Thank Post
    0
    Thanked 5 Times in 4 Posts
    Rep Power
    18

    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

  4. #4
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    Re: Login script problem

    Possibly something to do with ADM templates...

    http://www.derkeiler.com/Newsgroups/...4-03/0189.html

  5. #5

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Posts
    2,192
    Thank Post
    53
    Thanked 270 Times in 178 Posts
    Rep Power
    131

    Re: Login script problem

    Quote 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?

  6. #6

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,235
    Thank Post
    2,775
    Thanked 937 Times in 877 Posts
    Rep Power
    343

    Re: Login script problem

    Use the gpmc

  7. #7
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    Re: Login script problem

    Quote Originally Posted by SpuffMonkey
    Quote 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.

  8. #8

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Posts
    2,192
    Thank Post
    53
    Thanked 270 Times in 178 Posts
    Rep Power
    131

    Re: Login script problem

    Quote Originally Posted by ajbritton
    Quote Originally Posted by SpuffMonkey
    Quote 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.

  9. #9

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Posts
    2,192
    Thank Post
    53
    Thanked 270 Times in 178 Posts
    Rep Power
    131

    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??

  10. #10

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Login script problem

    What about using the GP Results wizard in the GPMC. Does that show anything as broken?

  11. #11
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    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.

  12. #12

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Posts
    2,192
    Thank Post
    53
    Thanked 270 Times in 178 Posts
    Rep Power
    131

    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?

  13. #13

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Posts
    2,192
    Thank Post
    53
    Thanked 270 Times in 178 Posts
    Rep Power
    131

    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?

  14. #14

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,235
    Thank Post
    2,775
    Thanked 937 Times in 877 Posts
    Rep Power
    343

    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 ) ??

  15. #15

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Login script problem

    ACL's?

SHARE:
+ Post New Thread
Page 1 of 4 1234 LastLast

Similar Threads

  1. Installing/Copying Fonts from Login Script
    By mattpant in forum Windows
    Replies: 10
    Last Post: 11th August 2011, 09:24 PM
  2. Set firefox proxy via login script
    By Jackd in forum Windows
    Replies: 2
    Last Post: 24th December 2009, 01:59 PM
  3. Printers disappearing after login script
    By gshaw in forum Windows
    Replies: 11
    Last Post: 10th June 2009, 06:47 PM
  4. Problem with Home Drive and login scripts
    By ArchersIT in forum Windows
    Replies: 4
    Last Post: 11th July 2007, 12:17 PM
  5. Replies: 4
    Last Post: 23rd November 2006, 09: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
  •