How Can I Script Windows for a New Server Installation?

  • Thread starter Thread starter newjerseyrunner
  • Start date Start date
  • Tags Tags
    Windows
Click For Summary

Discussion Overview

The discussion revolves around scripting a new server installation on Windows, focusing on frustrations with the graphical user interface and seeking alternative methods for configuration. Participants explore various approaches, tools, and commands that could facilitate a more efficient installation process.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant expresses frustration with the need to use the control panel for server installation and questions the lack of documentation on scripting these processes.
  • Another suggests using msconfig in the command line as a potential alternative to reduce clicks, though it is not a full scripting solution.
  • A participant mentions that there are tools available that can script mouse and keyboard actions, although the effectiveness and reliability of such tools are not fully established.
  • There is a suggestion to manually adjust settings via the registry using regedit, with a caution about the risks involved in doing so.
  • One participant outlines several methods for scripting installations, including creating an installation file (*.msi), using PowerShell commands, or employing utilities that record user actions.

Areas of Agreement / Disagreement

Participants express frustration with the current methods of server installation, but there is no consensus on the best approach. Multiple competing views on potential solutions remain, and the discussion is unresolved regarding the most effective scripting method.

Contextual Notes

Participants mention the complexity of creating installation files and the risks associated with modifying the registry, indicating limitations in their proposed solutions.

newjerseyrunner
Messages
1,532
Reaction score
637
I'm starting to get really annoyed trying to script a new server installation. I found out I have to go into some control panel, make some adjustments, click next, next, then save. No. Just xxx no!

Why is there no documentation anywhere that I can find about how to do it easily? How do I make changes to the control panel without actually going through the stupid control panel? Where are the files that these settings are actually stored in?

"Oh, I want to make changes to my network." - Microsoft Sally
"Okay, instead of having an /etc/network.d, let's give the user all these windows and buttons because it looks pretty." - Microsoft Dick
"Why not make it easier for the tech people who actually have to do these operations and don't care about or even plan on seeing those buttons and have to do it on entire racks of servers all at once?"- Microsoft Sally
"F*ck those people."- Microsoft Dick

Where is documentation on the inner workings of this stupid operating system?

Or, maybe somebody just knows. Where is the Local Server Roles so that I can enable Windows Media Server?

/rant/question
 
Computer science news on Phys.org
Have you tried msconfig in the command line? O.k., it's not a batch, but maybe less to click though.
 
  • Like
Likes   Reactions: newjerseyrunner
It's been something I've been looking into for doing this. It looks like it allows you to basically script what the mouse and keyboard are doing, is that right?
 
? You can try it without risk as long as you do not make changes. It allows you to control startup procedures and services as a whole. There have been also default paths and variables in earlier versions somewhere, but I have forgotten where or if it is still available outside the registry. The latter can also be manually adjusted by regedit in the command line. (But make a copy of it before doing so. You can destruct the OS there.) But to switch on and off services msconfig should do.
 
newjerseyrunner said:
I'm starting to get really annoyed trying to script a new server installation. I found out I have to go into some control panel, make some adjustments, click next, next, then save. No. Just f*cking no!
There are several ways of doing this:
  • The advanced way: Learn to create an installation file (*.msi). Warning: This is complex!
  • The Command Prompt way: Learn Powershell and all its associated commands.
  • The hacker way: Get hold of one of those utilities that can record your key presses and mouse clicks, record your actions and use the record to play back the actions.
There may be more options, but these are just off the top of my head.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 24 ·
Replies
24
Views
7K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 12 ·
Replies
12
Views
5K
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K