0

Although a batch file with executable commands could be run in different ways, I wonder if there is a way like making "autorun.Inf", which is disabled in windows,to run that "bat" or it's "exe" file when enter any drive in windows 7 or it runs itself depending specified time or actions regardless task scheduler and startup folder ? Could we use Shell commands for this purpose or "system volume information" specified role in windows?

Any idea in this regard would be appreciated.

7
  • I believe you can schedule a task to run on the insertion of a drive. You'd just have to find the correct event and use that as the trigger in Task Scheduler. Commented Jul 31, 2018 at 23:27
  • Task scheduler depends on current operating system,so if a new OS is installed, it will no longer operate !
    – Bardia225
    Commented Aug 1, 2018 at 11:23
  • What is your task exactly? It looks to me as suspicious one...
    – Alex
    Commented Aug 1, 2018 at 12:31
  • Don't worry! in a local network some configuration should be modified for users.
    – Bardia225
    Commented Aug 1, 2018 at 15:31
  • Well, you'd have to reinstall any other script too, and Tasks can be exported and imported. If you are just trying to re-activate autorun, that's not going to be any easier, and will cause security issues the task-based function would not. Commented Aug 1, 2018 at 19:23

0

You must log in to answer this question.

Browse other questions tagged .