Problem with scripting

  • Thread starter Thread starter Ricky
  • Start date Start date
R

Ricky

When I run the Wscript.shell run command I obtain a permission denied
error.

I don't know if I'm missing some components.
Anyone can help me, please?

Thanks a lot.

Ricky
 
Do you have the Windows Script Engines in your build?
Are you running the script in an administrator account or user account?

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
 
Do you have the Windows Script Engines in your build?
Are you running the script in an administrator account or user account?

I have the Windows Script Engines component, and I'm running the script as
user. I want to setup a different shell for this user as you suggest in an
old article I found on Internet.

Ricky
 
I have the Windows Script Engines component, and I'm running the script as
user. I want to setup a different shell for this user as you suggest in an
old article I found on Internet.

Ricky

Ops. Sorry. I obtain this error during FBA while trying to setup user
permission with cacls.
The problem setting up a different user shell is different: if I try to run
the script with RunOnce I obtain an access denied error to wscript but if I
launch the same command manually everyting works.
Two different problems both regarding scripting.

Thanks a lot.

Ricky
 
There might be a Administrator vs. regular Use account type issue.
I remember there being some issue about running scripts using RunOnce. If
this is only RunOnce, then try FBAGenCMD in a later phase. There could be a
service that hasn't loaded yet at the time the script is running.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
 
There might be a Administrator vs. regular Use account type issue.
I remember there being some issue about running scripts using RunOnce. If
this is only RunOnce, then try FBAGenCMD in a later phase. There could be a
service that hasn't loaded yet at the time the script is running.

The problem IS during FBA. I cannot start cacls.exe. I get a permission
denied when I try to run the command with run command of Wscript.shell.

Ricky
 
Back
Top