Questions tagged [startup-scripts]

121 questions
4
votes
2 answers

Exactly HOW are machine start-up Group Policies processed and what is required?

We have Server 2008 R2 and Windows 7 Enterprise. I'm asking this because we have several hundred laptops and netbooks at our organization. We do'nt have a NAC or a RADIUS server so all the wireless configs are done on the local computer. Please…
4
votes
2 answers

How to set Firefox as default browser using a script?

I have windows server 2008 r2 enterprise and windows 7 machines. I have firefox 4.0.1 currently deploying through group policy to the windows 7 machines. I know how to create a login script. I have created a batch file to make firefox default, but…
Zachary
  • 43
  • 1
  • 1
  • 3
3
votes
4 answers

Is it possible to see output startup script in compute engine

My Compute Engine vm when deployed run a startup script. Everything seems working well, but there is one command in the startup script which I think it doesn't. I run the command apt-get update && apt-get upgrade -y This should install the newest…
3
votes
1 answer

how to run a shell scripts at every login in Centos

Actually i want to run my shell script at every time when a user login as well as at boot. i have tried using using crontab but it runs only at boot not at every login.so please tell me how to do this. #crontab -e @reboot /home/user/test.sh
pawan
  • 31
  • 1
  • 1
  • 2
3
votes
3 answers

Showing the IP in the banner before login

I have a Linux machine and I want it to show the current IP in the banner that shows before the login prompt is displayed. How can I do that? I considered making a startup script that finds the IP in the MOTD, but found that the MOTD gets displayed…
Ram Rachum
  • 5,011
  • 6
  • 33
  • 44
3
votes
3 answers

how (linux kernel) network modules gets loaded without modprobe.conf

how (linux kernel) network modules gets loaded without modprobe.conf I have fedora distribution installed and can see e1000e module loaded automatically in the system. Is there a configuration which specifies to load this module automatically ?? I…
kumar
  • 423
  • 2
  • 9
  • 23
3
votes
1 answer

Thin processes not starting after reboot on Ubuntu 12.04

Well, I'm running Ubuntu 12.04.2 and I have Thin installed by gem install thin sudo thin install sudo /usr/sbin/update-rc.d -f thin defaults and I have my configs at /etc/thin. But after system reboot thin processes are not started unless I run…
kishie
  • 151
  • 7
3
votes
1 answer

View User's current logon script without domain admin rights

Is there a way to view which logon script is running for an AD user without having domain admin rights. I've tried gpresult and it isn't displaying any login/logoff scripts, but I believe the script is configured under the user's Profile tab in AD…
f3tt
  • 179
  • 2
  • 11
3
votes
1 answer

Starting a service only after another one is completely started (on CentOS)

I have installed on my CentOS server postgresql service and another one called netnfork. The 'netnfork' service starts only after postgresql starts. netnfork init script: #!/bin/sh # # netnfork init # # chkconfig: 2345 99 15 # description:…
artaxerxe
  • 521
  • 2
  • 10
  • 22
3
votes
3 answers

Run unison in background on startup?

I'm running Debian 6 64bit. What I'm trying to do is run Unison on startup to constantly monitor files on the LAMP server I have running on my VM and sync that with the VM Shared folder. while true do unison -batch -owner -group /folder1/…
mawburn
  • 187
  • 1
  • 12
3
votes
1 answer

How do I register a user logon script using PowerShell?

My company manufactures a medical instrument and the software that runs on it. Under the hood, it's got a PC running Windows 7. I'm developing a process so that untrained technicians can configure the system and install our applications. I developed…
Anthony Mastrean
  • 441
  • 1
  • 6
  • 18
2
votes
3 answers

How do I start Jetbrains License Server automatically on my Ubuntu system?

Assuming I have my license server installed here: /opt/jetbrains-license-server, how do I configure it to start automatically?
Chris Betti
  • 380
  • 3
  • 14
2
votes
1 answer

DISM deployed Windows 10 apps wont launch

I'm trying to deploy apps to computers around a school using DISM with a computer startup script. I've created a script to enumerate a directory on the network and install the app on the computers: for %%v in (%~dp0*.appx) do ( DISM /Online…
John Reid
  • 165
  • 1
  • 11
2
votes
4 answers

Run a script when joining a domain

I have a Microsoft domain (mostly 2008r2\7). I looking for a way to run a script immediately after (the restart after) joining a domain (without requiring user login), and so far I've failed. Also, I want it to run only once, so scheduling a…
EliadTech
  • 1,230
  • 9
  • 14
2
votes
1 answer

Start a script on ganeti node after instance is started or migrated

There is a ganeti cluster. Is there any way to run script on ganeti node after some instance is start running on that node? In both situations - starting from scratch, and migrating live from another host. It's possible to do it "automated"…
undefine
  • 956
  • 8
  • 20
1
2
3
8 9