New
#21
Sounds good. Fragile perhaps, but good
Absolutely. But I wouldn't say "Every aspect", maybe very close :)
It needs some "anonymizing" before I post it, but happy to share. If it helps someone else that's great.
Should give disclaimer though - It's very personal to my environment so it may not suit other people;s needs, but I'm sure there'll be stuff in the that might be useful to others.
Let me finish off the drive re-assignment script I'm working on then I'll post them both.
Ok, here they are.
Disclaimers
1. If you run either of these on your computers they WILL break your computers.
2. Many people will be offended at the extremes I have gone to to harden Windows. I respect your point of view, but please don't respond to commands in these scripts.
3. They are provided as is for reference purpose only.
4. I am aware of setupcomplete.cmd and autounattend.xml. I may merge my scripts with those at some point in the future
5. Some text has been replaced with xxxxxx, and server names have been set to generic names server and server1
6. I have not uploaded all registry files. As I said, this is for reference purposes only so that you might get some ideas
7. I do not think gurus from this forum will create tutorials for how to create these scripts - it's basic batch programming with various ideas taken from dozens of websites. There is nothing earth shattering about these scripts.
8. More testing is required to ensure there are no bugs, and some sections are incomplete as this is a work in progress.
There are some comments with links to sites where some of the tweaks came from. Otherwise, this was experimentation, 2 years of searching google and various security websites, such as bleepingcomputer.com
If you get some value from it. Great.
Tanya
PostInstall.rar
Last edited by Wobitancrawfodi; 12 Sep 2019 at 22:24.
This really needs to be done in the registry since renaming a removable storage device without it being inserted and then inserting media can cause the drive letter to change for each different UUID. It comes down to how the kernel of the OS that is being used has been created to read drive info from the BIOs and controller chipsets.
The drive has to be inserted for this to work
If you have a simpler way to rename a drive, then please do share.
The original post was "what's a simple way to rename a drive from command line". No one was able to come up with anything across 4 forums sites, so this is what I ended up with.