How To Fix Solved: Need A Script To Start A Program Tutorial=

Home > Solved Need > Solved: Need A Script To Start A Program

Solved: Need A Script To Start A Program

Contents

What I did was this: 1. I think you can do the SAME thing by putting a link/shortcut (icon) for BAT file on your desktop and then Right Mouse Button on the icon and selecting RUN AS Just create a file in notepad, and save it as start_isexec.bat or something like that.  The contents of the file should be something like this: net use S: \\servername\sharename /PERSISTENT:YES start Join Now I am trying to create either a VBS or CMD script that will allow me, to run an executable that is already located in the same location on every http://sumolinux.com/solved-need/solved-need-more-help-with-a-different-autohotkey-script.html

We are troubled on every side‚ yet not distressed; we are perplexed‚ but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; https://www.facebook.com/ahkscript.org Top SleeperSec Posts: 6 Joined: See More: Applet Needed - Wait for Program to Start Reply ↓Report • #1 RainBawZ September 16, 2016 at 01:20:00 Why use 3rd party software when you can just create a Email Reset Password Cancel Need to recover your Spiceworks IT Desktop password? If you don't use it it can only run things in %systemroot%. 0 Habanero OP leif2251 Nov 18, 2011 at 2:59 UTC Ill have to have a play https://autohotkey.com/boards/viewtopic.php?t=9812

Ahk Run

Try this: runas /user:domain\user "mmc %systemroot%\system32\dsa.msc" Don't retire TechNet! Instead, the 64-bit version of the requested file is launched. I've tried using a few inverse logicfunctions like an "If(Not)" before a "Wait for Program." The apps I use are not thatflexible. I think this should get you going.Greets,Megnatar Last edited by megnatar on 15 Oct 2015, 15:20, edited 1 time in total.

Interesting. or when a new window of the same name is created? #10 - Posted 29 September 2011 - 02:42 AM Back to top Sontawila Members 6 posts Last active: Sep 29 That seems to imply you're not logged in as an administrator. Task Scheduler Once compiled and compressed it will be stored securely in the .exe.See start->run cmd /K runas /?I used this method all the time when helping some user with no privileges in

Coding ALL How-tos Win 10 Win 8 Win 7 Win XP Win Vista Win 95/98 Win NT Win Me Win 2000 Win 2012 Win 2008 Win 2003 Win 3.1 E-Home Office Psexec Join Now I have a directory on a domain computer c:\temp\NetAgent that has a file called Isexec.exe that I want to run through a GPO startup script when the computer starts Software ▼ Security and Virus Office Software PC Gaming See More... The scripting apps I use make it easy toincorporate add-ons, plugins, etc.

This could be extremely slow especially on large networks or when remote computers are unavailable, - RemoteExec comprehensively logs all remote executions it performs, so you can relaunch them (or schedule Save it as filezillastart.sh and make it executable. This tool is also great for running commands on a remote machine, or even with the SYSTEM account. I missed the glaring version requirement on the runas verb.Updated AHK and now basics like Run *runas cmd work.

Psexec

Yes No I don't know View Results Poll Finishes In 4 Days.Discuss in The LoungePoll History About Us | Advertising Info | Privacy Policy | Terms Of Use and Sale | http://www.tomshardware.com/answers/id-2336323/task-scheduler-open-program-file.html Oops, something's wrong below. Ahk Run Computing.Net and Purch hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy. Cmd /c yes, I tried it before i posted it.

I hope u understand what i am saying... navigate here Top lexikos Posts: 5015 Joined: 30 Sep 2013, 04:07 GitHub: Lexikos Re: Run script without elevation/admin and launch program that requires elevation/admin Quote 15 Oct 2015, 16:37 SleeperSec wrote:Run the main Email Reset Password Cancel Need to recover your Spiceworks IT Desktop password? FOLLOW US Twitter Facebook Google+ RSS Feed Disclaimer: Most of the pages on the internet include affiliate links, including some on this site. Autohotkey Download

I am now running all admin actions without issue. That's why I need Wine & FileZilla to autostart on bootup, for those times when I'm not home and there is a re-boot. Thanks Xhi thats so cool tip it works as i want...thanks a lot..:) Reports: · Posted 5 years ago Top Topic Closed This topic has been closed to new replies. Check This Out In window 7 and vista, i want to make a batch file that run command as administrator, help me...?

I have 2 week on AHK but i try to help people whit simple scripts i can make. #13 - Posted 30 September 2011 - 09:01 AM Back to top Back The program I am trying to run as different user is Active Directory Users and Computers. Reports: · Posted 5 years ago Top Xhi Posts: 6298 This post has been reported.

About Advertising Privacy Terms Help Sitemap Join millions of IT pros like you Log in to Spiceworks Reset community password Agree to Terms of Service Connect with Or Sign up with

http://technet.microsoft.com/en-us/sysinternals/bb897553

  http://ss64.com/nt/psexec.html

  enjoy. 4 Mace OP Magnus369 Nov 17, 2011 at 6:51 UTC John3504 wrote: Check out what you can do with PSEXEC There are other You may get a better answer to your question by starting a new discussion. I must work within the limits of the scripting apps I've used for years.I found F2K0 while performing a Google search. yours) - or, you could run it with admin credentials for the remote computer, but if that computer is not logged in under those credentials, the user will not see the

edit: While logged in as an administrator account.Launch a program with admin privilege from within that script. TECHNOLOGY IN THIS DISCUSSION Read these next... © Copyright 2006-2017 Spiceworks Inc. Please re-enable javascript to access full functionality. [solved] - Run a script for a program in the background? http://sumolinux.com/solved-need/solved-need-help-removing-can-not-find-script-c-autorun-vbs-message.html It would be very helpful.   Thank You Reply Subscribe Best Answer Mace OP NetworkNerd Mar 8, 2012 at 1:41 UTC I recommend using a batch file.    But first, I

When you don't look at, or see the moon. Unless you're admin blocked the execution of runas as a user... Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post Reply Email topic Print view 15 posts • Page 1 of Software ▼ Security and Virus Office Software PC Gaming See More...

The path to this program is "%SystemRoot%\system32\dsa.msc" I tried a batch command with runas /user: but when I run it, it says: Attempting to start C:\Windows\system32\dsa.msc as user "admin" ...RUNAS ERROR: I don't think it is actually possible.