+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
Scripts Thread, Logon script to send an email? Works when ran 'normally'? Where am I going wrong? in Coding and Web Development; Originally Posted by Garacesh Script is located in NetLogon so accounts definitely have access to it. The logon script isn't ...
  1. #16
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,529
    Thank Post
    108
    Thanked 89 Times in 75 Posts
    Blog Entries
    47
    Rep Power
    40
    Quote Originally Posted by Garacesh View Post
    Script is located in NetLogon so accounts definitely have access to it.
    The logon script isn't assigned to any OU, it's just assigned to the user (User Properties/Profile/Logon Script)
    try running it on your own logon script first.

  2. #17


    Join Date
    Jan 2012
    Posts
    2,959
    Thank Post
    1,103
    Thanked 438 Times in 321 Posts
    Rep Power
    227
    Sorry @browolf I'm not quite sure what you mean by that?

  3. #18
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,256
    Thank Post
    218
    Thanked 231 Times in 200 Posts
    Rep Power
    74
    Any chance its some kind of authenticated proxy issue? Your scripts refer to http://schemas.microsoft.com/cdo/configuration/ at various points - is there a chance that the scripts is trying to run before it has permission to access the t'internet?

  4. #19
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,256
    Thank Post
    218
    Thanked 231 Times in 200 Posts
    Rep Power
    74
    Quote Originally Posted by Garacesh View Post
    Sorry @browolf I'm not quite sure what you mean by that?
    He means assign it to your account before trying on another member of staff. It's likely you have more permssions and can rule out that as an issue

  5. #20


    Join Date
    Jan 2012
    Posts
    2,959
    Thank Post
    1,103
    Thanked 438 Times in 321 Posts
    Rep Power
    227
    Oh, right! Did that - assigned it to one of the current domain admin accounts (since I don't think anyone actually remembers the 'spare' credentials - and quite rightly so!) and logged in - Nada.
    Could be a proxy issue, now that you mention it. Though, I've not figured out why it needs to reference Microsoft.com.
    All 3 of those links return a blank page with "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.", but since @bheadon says it works for him, I'm guessing it's still working, just doesn't respond to a web browser request.

    Apparently they don't actually go out onto the internet. It's just some kind of labelling.

    I added a message box at the start and end of the script to see what was going on - it doesn't appear the script is starting at all.
    Last edited by Garacesh; 20th March 2014 at 02:53 PM.

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. VB/AutoIt Script Sending An Email
    By russdev in forum Scripts
    Replies: 5
    Last Post: 1st July 2010, 10:45 PM
  2. Replies: 7
    Last Post: 24th March 2010, 03:58 PM
  3. Pressing "Return" to send an email??
    By WithoutMotive in forum General Chat
    Replies: 7
    Last Post: 8th November 2008, 10:43 AM
  4. Replies: 9
    Last Post: 10th May 2007, 10:13 AM
  5. Script to change user email in AD (or Exchange)
    By SpuffMonkey in forum Scripts
    Replies: 16
    Last Post: 8th November 2005, 10:31 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
  •