+ 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,527
    Thank Post
    107
    Thanked 89 Times in 75 Posts
    Blog Entries
    46
    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,770
    Thank Post
    1,018
    Thanked 391 Times in 292 Posts
    Rep Power
    219
    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,221
    Thank Post
    216
    Thanked 227 Times in 196 Posts
    Rep Power
    73
    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,221
    Thank Post
    216
    Thanked 227 Times in 196 Posts
    Rep Power
    73
    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,770
    Thank Post
    1,018
    Thanked 391 Times in 292 Posts
    Rep Power
    219
    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
  •