Netlogon

F

Femi

Hello,

My vbs computer startup script contains a line of code that requires the
local system account to run an exe located in the netlogon folder of the
domain controller.

For some reason it doesn't work. A snippet of the code is shown below:

WshShell.run (\\domain\netlogon\folder\myexe.exe)

The \\domain should be known during computer startup, is it possible that
this is not the case?

The domain is W2K3. Permissions and script syntax are OK.

Can anyone help?

Regards

Femi
 
P

Pegasus \(MVP\)

Femi said:
Hello,

My vbs computer startup script contains a line of code that requires the
local system account to run an exe located in the netlogon folder of the
domain controller.

For some reason it doesn't work. A snippet of the code is shown below:

WshShell.run (\\domain\netlogon\folder\myexe.exe)

The \\domain should be known during computer startup, is it possible that
this is not the case?

The domain is W2K3. Permissions and script syntax are OK.

Can anyone help?

Regards

Femi

Try replacing the domain name with the name of the domain controller.
 
M

Mak

to add to a post by Pegasus, you can also try to replace \\domain with
%logonserver% if you're on WAN and/or have a bunch of domain controllers.
(no "\\" needed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top