Questions tagged [startupscript]

158 questions
1
vote
0 answers

UI automation of mouse click at logon screen in windows 8.1

For UI automation testing purposes, I need to click a button on the windows 8.1 logon screen where it prompts to select a user account. And no, I do not need to select a user account. Its a button in particular. I am not quite sure how to do it. I…
1
vote
2 answers

Startup script to generate uninstall command

I have a text file of the format: computername1 uninstallkey1 computername2 uninstallkey2 ... computername200 uninstallkey200 I am trying to write a startup script (batch file or powershell?) that generates a msiexec command that looks up and…
1
vote
1 answer

specifying emacs startup behavior

I have got a question about config of emacs startup behavior. I don't have any idea about lisp, I simply love emacs for editing. What I would like to have is the following: I call emacs like emacs FILE emacs opens a window entitled FILE emacs…
Simon Righley
  • 4,538
  • 6
  • 26
  • 33
1
vote
1 answer

Asp page force not to postback

I am using Page.RegisterStartUpScript if the user types not acceptable data but i want to force at least some part of my aspx page if not the entire page to not postback. Does anybody has a clue how this can be achieved ? I am using some form to…
Blerta
  • 2,170
  • 5
  • 23
  • 34
1
vote
1 answer

Java start program on user login (platform-wide)

Across linux, MAC, and Windows, is there any way to make a Java program startup on login? I know on windows their would just need to be a shortcut to the jar file in the user's startup folder. But for linux and MAC what should i do?
Mohammad Adib
  • 788
  • 6
  • 19
  • 39
1
vote
3 answers

mysqladmin to set initial root password fails in script but works in shell

I am trying to do this as part of a startup script (that runs as root) on an EC2 instance # mysqladmin -u root password mygreatnewpassword To debug this I echoed the entire command to the log and it's correct. I did a 'ps ax' before the command in…
JK Scheinberg
  • 11
  • 1
  • 5
0
votes
3 answers

Windows Azure Startup Script for PHP

I use a startup script to install PHP, normallay I would use the default script of the PHPAzure SDK, which installs the newest available version, but I need absolutely PHP v5.3.8. So I wrote my own install script (which I use instead of…
ownking
  • 1,956
  • 1
  • 24
  • 34
0
votes
3 answers

System Startup Folders/Methods on UNIX Platforms?

I have a Java application that needs to implement installation features of making a JAR launch on startup. I can do this on Window by entering a REG file into the registry, but how can I do this on UNIX platforms? Linux and Mac if the methods are…
bgroenks
  • 1,859
  • 5
  • 34
  • 63
0
votes
0 answers

How to write a simple batch file at startup to press ENTER

My first stack exchange post ;_; I teach some graphic design at a school with a Windows 10 Lab. Over the summer the district implemented a privacy notice which requires you to press enter before it auto logs in. Is there any way I can write a batch…
Psyc
  • 1
0
votes
0 answers

Running screen command from startup scrip in gcp vm instance

I am trying to start a new screen in detached mode and run a shell script, which keeps running forever My startup scrip contains following screen -dmS live bash /home/mindedgescapital/projects/src/livetrade.sh Screen command deosnot work in startup…
user93796
  • 18,749
  • 31
  • 94
  • 150
0
votes
2 answers

Not able to execute the docker compose and up a docker compose in the startup script of a GCP vm

This below start up script doesn't result in Kafka containers running when I check using "docker ps -a". #!/bin/bash sudo apt update sudo apt install -y docker.io sudo curl -L…
0
votes
1 answer

Python script not running on boot in jetson nano, 'Permission Denied' and 'Failed with result 'exit-code'' error message

I am trying to run a python script on boot in a jetson nano. However, I think my script is not running for some reasons and I have no idea what is going on. Can any master help me out? I am trying to make a python script to run on boot on a jetson…
0
votes
2 answers

Can I light up the LED at the reset interrupt point

Based on Cortex-M4,GNU compiler. what i want to do is through a store instruction store a word to an address which is belongs a light's GPIOx_ODR(output mode as default).so i can light up led without do any further operation(like RCC or…
jack wen
  • 29
  • 5
0
votes
1 answer

Running a "rundll32.exe" process at Win7 Logon, Lock, & Switch User screens?

Before I start, another post for something similar to this request for help is located at Running a process at the Windows 7 Welcome Screen, but the responses were not quite what I believe I am looking for, and the post is over a year old so I…
0
votes
1 answer

Google Compute Engine (GCE) Startup Script // "apt-get upgrade" shutting down google script runner (google-startup-scripts.service)

Just in the past few days my GCE startup script has been failing when creating new instances. I believe it is because the apt-get upgrade command is causing the google-startup-scripts service to shutdown or restart. I added the export lines and…
Burton
  • 821
  • 8
  • 16