For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > September 2006 > Problem with permission execution vbs









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with permission execution vbs
DevPhp

2006-09-09, 6:57 pm

Hallo,
I've a problem with permission execution.
I'm working on a Windows 2000 server with IIS 5 and Php 5.x.
I need to execute from a php web page the adsutil.vbs script (is an
administration IIS script under c:\inetpup\adminscript\)
My web site is under d:\phpsite.
I've set for IWAM, IUSR and SYSTEM users full permission on php, system32,
adminscript and phpsite directories.
I've set in IIS read permission and allow scripts andexecutables.

Then I've tried to launch "cscript.exe adsutil.vbs" from a php web page and
it doesn't work. (if I try from command line it works fine)
It return this error "CScript Error: Loading your settings failed. (Access
is denied. )"

Anyone can help me? Am I doing something wrong?
thanx


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com