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
The discussion centers around frustrations with scripting server installations, particularly the reliance on a cumbersome control panel for configuration changes. Users express annoyance at the lack of straightforward documentation for making these adjustments without navigating through the graphical interface. There is a call for better resources detailing the underlying files and settings associated with the operating system. Suggestions for alternatives include using msconfig in the command line to manage startup procedures and services, and exploring Powershell for command-line scripting. The conversation also touches on the potential of creating installation files or using utilities that can automate mouse and keyboard actions. Overall, the need for more efficient methods and clearer documentation for server management is emphasized.
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 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.
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

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