Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to execute a printer script (.vbs) on logon for my company's users.

I am currently running a batch (.bat) file on startup through Active Directory > Profile > Logon Script which works as expected.

However, as as soon as I replace the .bat with a .vbs file it does not seem to run. The .vbs works when run manually.

Is the "Logon Script" property compatible with VBS scripting? I can't use GPO as I don't want to run it for the whole company, just a few users.

share|improve this question
add comment

1 Answer

is AD not compatibe with .VB Scripting? i cant use GPO as i dont want to run it for the whole company just a few users

I'm not sure about your original question, but this is exactly what Group Policy is designed for. Create a GPO and either apply it to the relevant OU's or apply it higher up the tree and use Security Filtering to only include a Security Group containing the people who need this.

This will be neater and more manageable than manipulating the individual user objects.

share|improve this answer
    
ok thanks i will try that –  Angad Nov 26 '12 at 17:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.