Questions tagged [executable]

an executable is a file that can be run on a device / computer. those tags [tag:service], [tag:services], [tag:windows-service] or [tag:daemon] can be related, depending on how the executable is run.

Filter by
Sorted by
Tagged with
0
votes
1answer
57 views

Create Widows Service from batch or exe file

I need to distribute some app to all our stations without users having the ability to close the app. The app jumps on users' screen and notifies them to restart the computer, and I don't want users ...
0
votes
0answers
12 views

How can I find the charset an executable was built with on Windows?

I need to see the supported charset of a particular executable in Windows (in other words I need to know if it was built with ANSI, UTF-8, or UTF-16 charset). What utility can I use to determine this? ...
0
votes
0answers
61 views

Automating the Okta AD Agent Installation

Our company will be implementing Okta as a single-sign on identity provider, and we're trying to automate the installation of the server side Okta agent so that we can avoid error-prone human ...
1
vote
1answer
481 views

How to start binary file from Systemd service

So, I have start.sh file to start imagecache service. And I have executable binary file "imgproxy" and I need start it and pass to it two parameters like as text file. Body of start.sh file: export ...
1
vote
0answers
51 views

Running a command in Powershell and running the exe gives different results

This is really odd. I have a so called Perforce Helix server on my Windows 2016 server. Now on this server there is an exe called p4d now if i go to the Powershell and run p4d it runs the command ...
1
vote
1answer
35 views

Windows - Restrict ability to run application to one service account

I've been asked to write a script that enters information from one application into another - and I've done it using a combination of Python, Selenium and Firefox (it's a temporary measure before a ...
1
vote
1answer
1k views

Windows: create a service for running a executable jar with out any external libraries

I have spring boot executable jar file which can run into any command prompt by calling java -jar filename.jar. I want to create a service with out downloading any external libraries for the above ...
1
vote
1answer
235 views

How to safely allow IIS to execute an exe with potential vulnerabilities?

We have an IIS application that needs to execute an exe with potentially malicious input. Multiple applications run in this app pool and I would like to limit our risk as much as possible. The ...
0
votes
2answers
896 views

p4: No such file or directory - when in reality it exists

I have installed p4 command line client on the server, and something strange is happening. It exists, has executable rights, but I cannot execute it because I received an error message that it does ...
2
votes
1answer
25k views

Rename files to add date modified to filename with Windows CMD or simple .TXT

I am attempting to rename a large batch of files to incorporate the dates in the "Date Modified" column from File Explorer into each filename in YYYYMMDD format. I was able to generate a report from ...
6
votes
1answer
19k views

How can I get information about a binary file that won't execute?

When I run one of my user's applications named "myfile". $ ./myfile I receive the following output bash: ./myfile: cannot execute binary file My user expects the binary file to run. I assume ...
4
votes
3answers
1k views

Where can I see what calls of EXE-programs have been made (including the arguments)?

Is there any log-file within Windows where all EXE-calls are tracked or is it possible to enable such a log? Would this contain the arguments / parameters of these calls? Thanks
1
vote
1answer
83 views

Unison on bootup

So i have unison running thru a config file by default. In here it applies the wait=watch function so it syncs automatically. but i wanted to run unison on boot, but i haven't been able to this this. ...
0
votes
1answer
1k views

How to get from executable to Windows Service Name (WIndows 7)

I am aware that under windows 7 the command-line commands... tasklist gets me processes (including services) currently running by it's executable name net start shows me all the display names of ...
1
vote
2answers
11k views

Group Policy is blocking exe files

I teach programming in Visual Studio. We want to run it on a terminal server. The problem is that whenever we compile our programs, the Windows refuses to start the created exe file. (I didn't even ...
-6
votes
1answer
146 views

Block EXE in a machine [closed]

How can i block all executables in a machine unless i verify it. I have multiple clients and i want to do it as programatically (I am using Visual-Studio-2010). It can be done through registry using ...
3
votes
1answer
150 views

Run program on “Reconnect Session”

I just implemented BackInfo on our servers, deployed via GPO. Everything is working as intended while users and administrators log on and off. Problems arise when a user disconnects and reconnects an ...
2
votes
2answers
1k views

Disable Execution of all files under directory OS X

Is it possible in OS X (Assume 10.7+) to disable execution of any file (even files in subdirectories) of a specified folder? I don't mean with chmod, but with some kind of security framework. Ideally ...
0
votes
1answer
82 views

How to write a script to install multiple things by just executing it

I have a server (centOS) on which I would like to install the staple development tools. Java, Tomcat, and MySql. What is a good way to write a script that can be ran on newly spawned server so that ...
0
votes
1answer
458 views

Automatically prepend executable Perl scripts using .htaccess (like php_value auto_prepend_file)?

I have previously built sites using PHP, where I automatically included header and footer html using the following lines in .htaccess on an Apache host: php_value auto_prepend_file "/var/www/html/...
0
votes
3answers
3k views

EXE files being deleted

I have a couple of Windows boxes (Windows XP and Windows Server 2008) where a few EXE files (unwise.exe - from Wise installation system - among others) simply disappear from time to time. I ...
2
votes
1answer
96 views

Distributing a custom command line tool to enterprise servers

I've been tasked with building a command line tool that we will be providing to our enterprise customers so that they can use the API to upload data to our platform. The API works with standard cURL ...
2
votes
1answer
418 views

Windows Server Task Scheduler: Running scheduled executable fail-safe?

I have an executable which I've scheduled to run once in every five minutes (using Window's built-in Task Scheduler). It's crucial that this executable is run because it updates few time critical ...
2
votes
1answer
1k views

How to allow a git hook to run an executable with sudo by modifying /etc/sudoers

I'm using a git post-update hook to run a command via sudo, and I get the error: sudo: sorry, you must have a tty to run sudo. I believe I need to modify /etc/sudoers but I don't know how to do this. ...
1
vote
1answer
101 views

Difference between bin files that are executed via ./binfile and “regular” bins?

I built a C program using make on Ubuntu. The resulting bin file is executeable via ./binfilename but not by just executing it in the directory it was build. How can i "convert" it to a bin file that ...
0
votes
2answers
276 views

ENOEXEC on CIFS in SUSE

I am trying to execute a program on a CIFS mounted partition in SUSE 11.1. Whenever I try executing it, I get a "could not execute binary file" error. Using strace, I was able to determine that the ...
0
votes
1answer
518 views

Can php5-fpm be configured for separate php executables?

Can php5-fpm be configured to use php executables? I want to compile php separately for some websites on the same server where as some of them use the same executable. Can php5-fpm be configured that ...
1
vote
1answer
106 views

Executing a script with ./script.sh fails while “sh script.sh” works

I'm very befuddled by this error and don't even know what to google for: Failure - Executing a script with: ./test.sh bash: ./test.sh: "Permission denied" Works - while these apporeaches work: ...
4
votes
2answers
2k views

Samba/Cifs: Transferring executable permission bits to linux client

I'm trying to get my linux smb/cifs client recognize the executable bits that are set on some files on a share on a linux smb server. Here is our setup: Linux server exporting some directories via ...
2
votes
2answers
654 views

Determing the Execution Environment of Apache

I am having this error: [Mon Dec 05 10:22:23 2011] [warn] mod_rewrite: Running external rewrite maps without defining a RewriteLock is DANGEROUS! [Mon Dec 05 10:22:23 2011] [error] (13)Permission ...
12
votes
3answers
7k views

Why does Windows command prompt stalls until a key is pressed when executing long batch files or programs

I've just had two occurrences of windows 7 stalling an execution until I hit enter on the command prompt/powershell. Afterward execution seems to continue as expected. First was an batch file of copy ...
2
votes
1answer
45 views

Strange behavior with execution permission

For exercise - I removed execute permission for others from /bin/pwd: $ chmod o-x /bin/pwd $ ls -l /bin/pwd -rwxr--r-- 1 root root 26568 Apr 28 2010 /bin/pwd and as logged as matt I cannot execute ...
1
vote
3answers
130 views

How do I tell whether an executable has run or not?

I have an executable I am calling from a third party program. I am calling it using an administrator account with "run as a service" privileges, and the third party program logs report that the ...
3
votes
3answers
302 views

Weird executable behaviour

I have a server machine with ubuntu 9.10. I am trying to put in place an executable, which turns out to be the latest flashplayer (debugger version). Somehow the file appears as present and ...
1
vote
1answer
249 views

Monitor Windows executable while it is loading

Is there Windows software that will allow you to see what an executable is doing while it is loading up? For example, monitor if the executable is modifying the registry, updating the file system, etc....
43
votes
6answers
276k views

How do you wait for an exe to complete in batch file?

I'm trying to create a script to execute an exe on shutdown in order to install sp1. my script goes something like (not actual bat script). If installed GOTO END Install.exe END: My problem is ...
1
vote
1answer
3k views

Is it possible to restrict executing an .exe on a network drive with Windows 7?

Can Windows 7 be configured in a way to prevent a user to execute an .exe that is on a network drive, and if so, how could that be done?
0
votes
1answer
100 views

CGI file executes only on local machine, not online

I've got a CGI script written in python (starts with #!/usr/bin/env python) that executes fine on the server. I type in /home/company/server/root/adam/code.cgi and it outputs the right output. I go to ...
0
votes
2answers
587 views

Windows Installer cannot execute EXE install files

When I run the msiexec.exe with an msi file, it runs perfectly. The problem is that many install files are not msi's but exe's. My question is: How can I run an exe file with the msiexec.exe command? ...
0
votes
1answer
961 views

Policy exception for Windows User Account Controls and Update.exe

So... Apparently Windows has a list of filenames that require extra rights to run, included in this list is Update.exe, which happens to be the name of the file I'd like my clients to run without ...
0
votes
1answer
612 views

how to convert EXPECT file to executable file

I am trying to convert EXPECT script that is located in an ubuntu client to a .exe script so that I can execute the EXPECT file from web browser using javascript. Can anyone guide me on how to ...
1
vote
4answers
184 views

Do admins mind exes being copied/installed to the users Application Data folder?

This question is a follow up to Why do some admins dislike exes being executed from a server share? I have developed a utility which makes life much easier for Access developers. One option I will ...
0
votes
2answers
1k views

binary executable working in centos but not in ubuntu

I was trying to install weblogic 9 to test if an application is working correctly when migrated from a previous release. I downloaded the "Oracle WebLogic Server 9.2 MP3" and I was able to install it ...
0
votes
5answers
398 views

A file that exists doesn't exist. (Bash claims a file exists when it doesn't.)

root@omega-15:/var/unreal/src# find ./ircd ./ircd root@omega-15:/var/unreal/src# ./ircd bash: ./ircd: No such file or directory What the hell is this? Bash thinks that the file doesn't exist, when it ...
7
votes
5answers
415 views

Why do some admins dislike exes being executed from a server share?

I distribute a utility for developers which is designed to reside on a server share and is executed from the server on the local PC or Terminal Services/Citrix session. It does not require any admin ...
2
votes
2answers
4k views

p4 - I've got no such file or directory - when in reality it exists

I have installed p4 command line client on the server, and something strange happened. It exists, has executable rights, but I cannot execute it beacause I got message that it does not exists. I ...
0
votes
2answers
472 views

How to run an executable of linux/windows server from browser?

Suppose the uri of that executable is known:http://domain.name/exe_uri Will it be executed if we just type it in the address bar?
0
votes
4answers
422 views

Can't run an executable under Linux

I chmod 777'ed an executable and trying to execute it like this: /home/gandalf/./sample but it doesn't work /bin/bash: line 25: ./sample: Permission denied What can be the problem? Thanks.
1
vote
2answers
48 views

Application upgrade triggered from web application on Ubuntu/Linux

On my ubuntu server I have an application MyApp which runs as a daemon with its own user myapp. Then I have a web application MyPortal which runs in apace httpd as user www-data. This application ...
2
votes
1answer
2k views

Cannot run “Automation Anywhere” exe files from console (session 0) on Windows Server 2003 64 bit

I have a simple exe created from an Automation Anywhere task that displays a message box saying hello world. I created this simple exe just for debugging the following issue. When I log in to the ...