
access denied to wscript at login but runs after login
Hello, I cannot run wscript.exe during the login proccess. But it runs fine
once i'm already logged in. The logon.bat file only has two commands
wscript
pause
after wscript i get an "Access to the specified device, path or filename is
denied"
the file exists, and even if i use an absolute path to it,
c:\windows\wscript.exe i still get the same error. What's more confusing is
that cscript runs fine during login. I can't see how there would be
anything wrong with permissions since it's win98 and doesn't really have
file permissions. the only other thing i can think of is that a system
policy is affecting it somehow... but the user policies aren't applied until
after logging in... and even if i login as an administrator which has full
priveledges in the config.pol file i still get the error. If i rename the
file to script.exe and try c:\script.exe i still get the access denied
error. Also, it works fine on one of the computers on the lan...wscript.exe
runs during the login process... but on all the others i get an acess
denied. I cannot find what the difference between the computers is that
allows it to run on one and not the other. I looked through the registry a
bit and didn't find anything that seemed to be the problem... i have a
feeling the problem is in the registry somewhere though. Any help would be
appreciated
thanks
eric