Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing a file with permission
Message
From
12/03/2012 14:12:07
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Executing a file with permission
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01538092
Message ID:
01538092
Views:
67
I am executing this from an ASP.NET application:

c:\Windows\System32\schtasks.exe /change /tn MyTask /enable /s MyServerIPAddress /ru MyUsername /rp MyPassword

From the command prompt, this works ok.

From the ASP.NET application, I obtain:

"ERROR: Could not read key from registry"

So, obviously, there is a security issue here. Anyone would know more about this?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform