Avatar of melweheshy
melweheshy asked on

windows can't access (error message)

hi guys,
when i try to edit the logon script from the share path, it gives me the attached error message.
by the way, i am using a domain admin account,
also, the users can't take this script to apply it
what is the solution?
OS SecurityActive DirectoryWindows Server 2003

Avatar of undefined
Last Comment

8/22/2022 - Mon

Dont edit it from the share path, if you want to edit it remotely access it through


Or just do it locally from that path.

before when i open the GPO that contain that logon script i was able to edit it, but as you said when i open the file localy i can edit it.
but also my main problem is the script dosen't apply to anyone, the GPO itself applied but it didn't take the script.
any help?

Are you applying the script from the GPO or from Active Directory Users and Computers (i.e user settings)?

If its from the GPO then the path to the script has to be in UNC format (and with user settings)
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck

GPO -> user settings -> logon script

OK and from the DC if you do a \\servername\path to script, you can then open that script (not edit it) open it? Also can a user from a workstation do the same?

here is the result:
from xp client:
i can open the all path from run as \\servername\path, and when i double click on the script file (file.vbs) it open it in notepad and didn't execute it.
by the way, i can edit it from the client (with the normal user privilage)
from the DC:
also i can open the path, but when i double clieck on it to execute, it gives me the error message.
also it gives me the same error message when i try to edit it
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

OK mate I think I know what your problem is go to the folder the script is in on the server, on the file menus go to "tools" and then "folder options" select "view" and in the options uncheck "hide extensions for known file types" Then look at the script and rename it removing the .txt at the end.

it's already .vbs file not txt,

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question