the field of converting any manual process into one that can be run mostly, or entirely, "hands-free"

learn more… | top users | synonyms

1
vote
1answer
1k views

Is it possible to change a Windows hostname (NetBIOS name) using a script?

How can I change the hostname of a Windows server using a script? Doing this on a Linux server is very straightforward (change a couple file entries, and run the hostname command), but I don't know ...
1
vote
0answers
69 views

Adding a user to BES via Script?

I am looking for a way to add users to BES using a script to help automate new user creation process. Is this possible with using any of the resource kits from BlackBerry, or other methods than using ...
2
votes
3answers
7k views

How to automate DNS server reconfiguration for TCP/IPv4 and TCP/IPv6 in Windows 7?

I need to switch Internet Protocol Version 4 (TCP/IPv4) and Internet Protocol Version 6 (TCP/IPv6) settings for DNS server configuration from "Obtain DNS server address automatically" to hard coded ...
13
votes
7answers
13k views

How to set ulimits for a service starting at boot?

I need, for mysql to use large-pages, to set a ulimit - I've done this in limits.conf. However, limits.conf (pam_limits.so), doesn't get read in for init, only for "real" shells. I solved this before ...
4
votes
1answer
70 views

Is allowing automated subversion checkins a bad idea?

I'm a Systems Admin supporting a team of developers, and our subversion repository is protected by HTTP basic authentication tied to a single-signon solution. We also share our infrastructure with ...
-1
votes
3answers
1k views

How do I remotely deploy a software package on Linux system?

I have a software package I wrote in Mono and I want to be able to deploy it to Ubuntu server as part of my move to continuous integration and deployment work flow. I was wondering if there is a ...
0
votes
1answer
438 views

Automate wifi connection in bash using glob

Trying to apply these rationals on an ubuntu VM box to automate wifi connections but processing just into an infinite loop as I guess I'm not using glob as it should but can't find why/where the ...
1
vote
1answer
601 views

Can OpenVPN run and connect on startup?

I just set up an OpenVPN Server on an Amazon EC2 Instance. Now I want the client (me in this case) to connect to the server when my computer boots. I have read that it can be done by modifying a ...
2
votes
2answers
622 views

Start services.msc attached to remote computer

Is there a way to start services.msc already attached to a remote system (e.g. from command line)? I want to avoid clicking Action -> Connect to remote computer, because I have to do it so often...
3
votes
2answers
617 views

Automatically set static routes between two networks without dhcp or default gateway

I have a windows domain network with two different subnets. Both are connected trough VPN gateways. DHCP and default gateway is an exiting router blackbox. Unfortunately I have very limited control ...
1
vote
1answer
543 views

Removing non-present hardware with Devcon?

I'm automating the removal of a USB printer from machines with Windows XP SP3. To do this, I'm using Microsoft's Devcon Utility. Running the command: devcon findall *hp* Returns: ...
6
votes
2answers
878 views

How to copy many Scheduled Tasks between Windows Server 2008 machines?

I have several standalone Win2008 (R1+R2) servers (no domain) and each of them has dozens of scheduled tasks. Each time we set up a new server, all these tasks have to be created on it. The tasks are ...
1
vote
1answer
661 views

How do I automate the installation and configuration of a local printer?

I'm running Windows XP SP3. I have a fleet of laptop computers that I'm creating a master clone for. Each of these computers will have a different function when deployed so I've created a series of ...
29
votes
6answers
4k views

Automatically Configure New Computers

My company is in the process of upgrading all of our users from old Windows XP computers to newer quad-core Win7 computers. This is a good thing - it's long overdue that we upgrade our workstations - ...
1
vote
1answer
765 views

Multiple related resources in chef recipe

I need to run some commands depending on a result of previous execution, which again depends on some package being installed. On the first run, I'd expect something like: install package "XXX" get ...
1
vote
3answers
217 views

Automatically find permission problems of a directory

I often have the problem that a program - e.g. apache - may not access a certain file or directory. Solving the problem means to manually check the file and every single directory in the path up to ...
0
votes
2answers
513 views

ubuntu 10.04 automated LAMP configuration script with virtual hosts

I am looking for a set of bash scripts which can help me to automate the procedure of getting LAMP server up and running. Typically what I am looking for is boot a VPS (say linode) with Ubuntu ...
1
vote
3answers
5k views

How can I pass in a FTP username and password to WinSCP?

I'm scripting WinSCP, and need to dynamically pass in a FTP username and password, depending on which environment I'm using. However, the docs say, "WinSCP does not support providing the passphase ...
0
votes
1answer
1k views

Command Line - programmatically add/remove/rename BIND alias records?

For our local dev server, we routinely add and remove name alias records in our BIND/named server for our local network domain. I usually do this manually through Webmin, just out of convenience. But ...
1
vote
3answers
216 views

Setting up Tomcat on shared drive for clustered environment

We have a production environment with externally load-balanced Tomcat servers running on multiple servers, serving HTTP requests and maintaining stick sessions. Due to lack of complete build and ...
0
votes
1answer
163 views

DIY: automate cloning of Xen VMs, gold templete?

looking for DIY way without commercial tools like XenServer LabManager product.
0
votes
1answer
50 views

Software for scanning installation process? [closed]

I forgot what is the name of the very good software which make some kind of restore point (save registry, and program files folder, etc...) before installing any software. After you install some ...
0
votes
1answer
155 views

Deploy across multiple webservers, remove from load balancer on EC2

I'm wondering if there is a 3rd party application that can help me deploy a web project (website) to IIS across multiple web servers. While, taking one server out of the load balancer deploying, ...
3
votes
1answer
75 views

Automatically create test database every week

There is a production db in SQL Server. We still have development on this database and I want to create it's copy in every X day/week/month. Is there any job or something else what can make this on ...
1
vote
4answers
2k views

How can I automate the process of fetching files from remote Windows servers?

We have a handful of machines that we administer: some Windows 2003/8 and some various flavors of Unix. I need to write some sort of script/task/etc (I'm a programmer, so any language/tool is fine) ...
1
vote
3answers
68 views

How to modify configuration file from command line?

For example, I often need to login to a new virtual machine just to open "/etc/ssh/sshd_config" and set "PasswordAuthentication" option to "no". In this way, I can not automate this process. How to ...
2
votes
2answers
421 views

Automated Server cloning and deployment

I have an ERP system that requires a local installation on a Windows Terminal Server to operate properly. Right now I pay for each TS that I have the vendor install the software on directly. ...
4
votes
4answers
3k views

How to create a SQL Server database from a mysqldump file automatically on a daily basis?

Recently, a vendor announced that they were upgrading their processes, and an automated, daily data dump we are getting from them will now come in a MySQL datadump format. Unfortunately, we're a ...
8
votes
1answer
4k views

Remotely renaming a domained Win 7 computer

I'm having a hard time figuring out how to rename a Windows 7 computer remotely. This is for automating Win 7 builds in a vSphere 5 environment, and I'm trying to get it as hands-off as I can. So far ...
0
votes
2answers
262 views

How to write robust automation scripts for large scale data management?

I have been needing to automate the moving of quite large amounts of data (possibly around 1TB/day+ in average. 60TB so far, and counting) to a separate, remote storage system. I have so far been ...
6
votes
6answers
2k views

How can I automate clearing and resetting a Linux user's home directory to a default?

I'm helping to teach two Unix courses next week. Users will be granted an account on a RHEL 5 machine, during which time they'll add files to their /home folder, update their .bashrc and other ...
2
votes
1answer
423 views

What to put in startup / login / logoff scripts?

I certainly hope this question is deemed acceptable, and doesn't violate the Chatty, open-ended questions diminish the usefulness of our site and push other questions off the front page. portion of ...
0
votes
1answer
1k views

How to set adequate permissions to a scheduled task for a service controller query?

I'm a programmer, but the problem encountered has stepped beyond the code and into the system administrator realm, at least that is what I think at this time. I will only use one bit of code to show ...
2
votes
2answers
49 views

Creating an Update System With Serial Number Logins

Our company has a server that is a locked down version of Linux (custom shell for users, no direct access). I am currently pushing updates to the user, but it would be more ideal for the users to do a ...
1
vote
2answers
148 views

Automating windows desktop deployment

I’d like to prefix this question by mentioning that I’m a Linux administrator, so managing a network of Windows desktops isn’t really my forte; however I’ve been tasked with upgrading a network of ...
2
votes
2answers
326 views

How can I automatically create/control VMs using vsphere?

Is it possible to automatically create virtual machines using vSphere / ESXi? How would I go about doing that? I have a script to automatically create + install windows on a VM using VirtualBox. It ...
2
votes
2answers
154 views

Local Admin and Policies

I have company/domain setup with about 150 + users. I don't want to grant the users a local admin account to prevent them from installing programs that may used to attack - harm the network or other ...
1
vote
2answers
631 views

Upgrade the Ubuntu puppet package within kickstart process

My Ubuntu based kickstart-host is almost working like it should, serving Ubuntu 10.04 (both i386 & amd64) and CentOS 5.6 to new (VMware-)hosts. One of the things that bothers me is that Ubuntu ...
0
votes
1answer
37 views

On my webserver, opinion/advice on automatically adding php-fcgi users?

I am not 100% sure of how to actually add users, however I am choosing Apache over other backends finally and that may be easier. From what I can gather, adding an fcgi user would mean adding a Linux ...
0
votes
2answers
118 views

Windows Service Based Software to Run Script Everytime a file arrives

Does anyone know of a tool were that is service based which I would be able to run a script every time a file arrives in a directory? I would write the script all I want is the tool to be a service ...
1
vote
2answers
138 views

Securing database credentials in automated deployment of nodes

In a situation where you're deploying nodes (e.g. amazon ec2), what are the recommended best practices for securing things like credentials to other resources? Without solving for scale, we might ...
1
vote
2answers
1k views

How can I script an HKCU setting for a handful of users on a specific server who don't have profiles?

Here's what I would do manually: Log onto a server with Account1 to create its Windows profile. Start Internet Explorer. Click Tools > Internet Options > Advanced > Uncheck "Check for publisher's ...
0
votes
2answers
195 views

Ubuntu configure keyboard non-interactive

Im setting up some Chef scripts to build and configure a Ubuntu 11.04 instance for development. I'm having some trouble finding away of reconfiguring the keyboard with no user interaction. I tried ...
1
vote
1answer
441 views

Scripted check for a specific feature from an msi installer

I need to be able to check for the installation of a particular feature from an msi installer. For context, I need to check whether the "Powershell Cmdlets" feature (TFPS from Feature table in Orca) ...
3
votes
2answers
6k views

How to auto-start MongoDB on CentOS reboot?

How do I setup MongoDB so that it will start back up automatically after a server reboot? This is on CentOS 5.5. I start it with the following command, but if the server reboots, I have to login to ...
2
votes
1answer
333 views

Linux automated media files transcoding

I'm looking for software that would help to implement above described scenario. By automation i mean minimization of actions needed for that process. For example, it would be nice to run some daemon ...
0
votes
3answers
135 views

Application to automate Windows software installation in a test lab

I have several test environments (hyper-V) which contain a variety of windows servers. Each machine needs periodically rolling back to a given snapshot and then re-installing with the latest version ...
0
votes
2answers
2k views

How can I automatically remount CIFS shares when remote servers restart?

I need to mount shared volumes from various remote servers on my local server which is running Ubuntu Server 10.10. I typically use commands like this to mount the shares: sudo mount -t cifs ...
3
votes
1answer
570 views

Windows 2008 R2 Unattended installation example?

In following-up another question, are there any sources of reliable (ie, "just works") unattended response files for Windows 2008 R2 x64 available for modification, or do you have to start with the ...
1
vote
1answer
1k views

how-to deploy files to several nodes on network automatically?

need to push(deploy) few batch files to the machines on a network. All nodes are running Windows. The batch files contain some commands to initialize an env on each node. what ways can this be ...