run .vbs script at startup

Posted on 2011-10-19
Last Modified: 2012-05-12
need to run a vbs script at startup. win2008 servers , win7 clients

can I simply put a path to 'name.vbs' directly in group policy or do I need to create a bat file
cscript 'path to name.vbs'
and then run that bat file in group policy?
Question by:Pete
    LVL 6

    Accepted Solution

    you can directly use vbs and it will work for all clients higher than Windows 2000
    LVL 1

    Author Comment

    great so a startup script path of:

    will be ok?
    LVL 6

    Expert Comment

    I usually put VBS in the GPO / user / script / login folder but, yes there is no reason it wouldnt work if user has access to this shared folder.

    But if you're asking the question, I guess you have already tried and it didnt go really well, am I right ?
    LVL 1

    Author Comment

    it is a computer rather than user script.
    thanks 4 help

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    759 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

    10 Experts available now in Live!

    Get 1:1 Help Now