[Last Call] Learn how to a build a cloud-first strategyRegister Now

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

Logon script usage

I have a script to map network drives created from a sample on EE.  It is called VBSLogonScript.vbs and is located in the \\server\netlogon folder.
I've put the path and file name in my AD profile logon script field, but the drives do not map at all.
I can double-click the script and it works fine.
How do I get the script to run when I log in?
0
Andrew-T
Asked:
Andrew-T
  • 2
  • 2
  • 2
  • +1
1 Solution
 
Mike_CarrollCommented:
CHeck the event viewer on the PC after a login... it'll usually tell you whats going on.
0
 
Andrew-TAuthor Commented:
Nothing unusual in the event logs after login
0
 
Mike_CarrollCommented:
It's not seeing the script then... what part are you specifying in the logon script field?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
Andrew-TAuthor Commented:
On the Profile tab, Logon Script line I have this:  \\valserver1\netlogon\VBSLogonScript.vbs
0
 
Joseph DalyCommented:
Don't put the full path. Just put vbslogonscript.bat this is assuming that file is placed in your netlogon folder
0
 
Joseph DalyCommented:
To put the script in the correct place you can go to run and enter %logonserver%/netlogon

Copy the file there, wait about 15 min and then change the profile path only to vbclogonscript.vbs

If the script is written correct it should run
0
 
artoaperjanCommented:
HI

don't use the profile tab
use the GPO it is the correct way.

forget the profile tab

regards
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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