AD Logon Script using VBS

Posted on 2006-06-01
Last Modified: 2010-04-13
I have vbs script and i would like it to run on AD in the profile part of the user "Logon Script". The file is in a shared folder. On the Logon script I put: \\phitronics\download\script\Stock_printer.vbs

but nothing happens? Do I need to create a BAT file? if so how do I acess a share folder thrue dos?
Question by:phitronics
    LVL 20

    Accepted Solution

    So long as the script runs ok manually - to get it to run from the profile you need to copy the script to the netlogon share ie \\servername\netlogon. The in the logon script of the user profile just type the script name ie Stock_printer.vbs
    Deb :))
    LVL 9

    Expert Comment

    Hello phitronics!

    Do you have Windows scripting host installed and updated?

    LVL 9

    Expert Comment

    Oops, yup, good catch Debsyl99!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now