Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

AD Logon Script using VBS

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?
0
phitronics
Asked:
phitronics
  • 2
1 Solution
 
Debsyl99Commented:
Hi
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 :))
0
 
AndreDekoltaCommented:
Hello phitronics!

Do you have Windows scripting host installed and updated?

Andre...
0
 
AndreDekoltaCommented:
Oops, yup, good catch Debsyl99!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now