I have noticed that this has caused a couple "glitches" which are a bit odd. The "start mstsc /v:"servername" is just simply telling RDP to open up the connection to that server immediately to the prompt where "username and password" are normally required unless you try to add the cmdkey step that I added above. And with the /generic: classification I believe is where I put the individual different names of each of the servers, so it stores my user name and password based on each server. So from what I understand I'm doing here, is that I'm using cmdkey to "store" my username and password for each of these server connections. Obviously if I would have been able to think this through on my own, I wouldn't be posting, but since I'm a bit stuck, I'm interested to see what others can offer to help correct my thinking. I don't have a lot of expertise with coding, but I do my best to research as much as possible to understand what someone else's code is accomplishing. Here is the code I've tried to piece together from resources on the internet and on stack overflow to create a batch file that would open all these Remote Desktop Sessions:Ĭmdkey /generic:"servername" /user:"username" /pass:"password" I'm willing to have to put in the password each time, but it would save a ton of time not having to manually start another connection each time. I would like to create an automated way to do this. So the main issue that I would like to save time on, is I have to manually type out the name of the server, and then the username and password like normal. So I guess I'll just have to hopefully explain this process clearly without the picture. However I need 10 reputation to do so from what its telling me. (At least that is what I have been instructed to do, and haven't heard of a better alternative.) I would give a picture to describe what it looks like that I do when I have to open each of these up. I have to open up an RDP connection for each of these servers and update them manually. We have close to 50 or so servers, and I would say 10 are physical and 40 are virtual. This includes windows updates and a few other software updates. I Have to update the Servers here at work close to monthly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |