Problem logon script

  • Thread starter Thread starter Jaime
  • Start date Start date
J

Jaime

I want apply a logon script in my domain to map network
drives, etc. I save this script with the extention .vbs
in SYSVOL/mydomain/scripts.
I execute this program locally and it is working. But
when a user logs on (member of domain users group)
in the clients machine a message appears:

Windows Logon Script
Loading your settings failed (access denied)

(If I assign the user to the domain administrators group
the script is executed correctly)

I assign rights to the file and to the file so the users
have full control of the .vbs file and the same message
appears each time.

I think the problem is rights. What kind of rights do I
have to assign to the users so they can execute the logon
script.
 
I asked the same question not long ago but I didn't know how to make a logon
script that worked.

I don't know about VBS scripts since I use batch files.

In active directory users&computers, for the logon script field, you just
put the name of the script and not a full path.

The place where you put the script is
%systemroot%\SYSVOL\domain.name\scripts

When you navigate to this path, you'll see that the sysvol folder is already
shared. It needs to be for users to be able to run the script.

If you put the full path to a different location and it worked for them as
an admin, it's because they have full access to the system. A user would not
and therefor the script would fail.

Hope this helps.

Jim M.
 
Jim, have you ever tried multiple scripts? I'm running
into a problem with Symantec's Antivirus installation
procedures. They have a script for installing SAV
unfortunately it appeawrs that Microsoft only runs the
first script in the field (which we use for drive mappings
and printer assignmenst).
 
Back
Top