Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 854 Vote(s) - 3.48 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Invoking PresentationSettings from an HTA

#1
What I'm trying to do is invoke `PresentationSettings /start` from an HTA. It works fine from a normal command prompt, but when I try from an HTA, no dice. I assumed there was a permissions issue, so I made sure to run the HTA as administrator, and then the command as an administrator, like so:

var shellApp = new ActiveXObject('Shell.Application');

// Just open the GUI and keep command prompt open for testing
shellApp.ShellExecute("cmd", "/k PresentationSettings", "", "open", 1);

Unfortunately, I get the message:

`'PresentationSettings' is not recognized as an internal or external command,
operable program or batch file.`

If I try `dir c:\windows\system32\PresentationSettings.exe`, I get file not found, but when I try from a "normal" command prompt, it works.

Anyone know of a tip/trick/hack to accomplish what I'm trying to do?
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through