June 12, 2015 at 7:08 pm
Sorry for posting an RDP session issue, but this is the only forum that i use. I am hoping someone can help.
Does anybody know how to use the mstsc -v:servername /F –admin and get it to map the local drives of the PC
Any help is appreciated.
Jeff
June 12, 2015 at 9:21 pm
Take a look at this article:
It's a bad idea to use RDP to manage a DB server. MS Windows and SQL Server offer a variety of tools for administering SQL Server instances without needing to open up an RDP session.
-- Itzik Ben-Gan 2001
June 13, 2015 at 6:39 am
Thank you very much. I will check it out
Jeff
June 13, 2015 at 3:06 pm
The article is great, but what I am look for is to be able to map drives while using console or admin connection and not the regular RDP Connection.
I tried to use \\tsclient\c\ to map the drive once connected, but got an error message said the drive does not exist…
I thank you for helping I will keep trying and if you find something please let me know
Jeff
June 13, 2015 at 3:24 pm
Why not configure your RDP session and then save it to a file? Then you can use mstsc pointing to the configuration option and still specify /admin.
Joie Andrew
"Since 1982"
June 13, 2015 at 4:00 pm
Alan.B (6/12/2015)
It's a bad idea to use RDP to manage a DB server.
If you're going to say something like that, you need to explain why. To be sure, I'll say "It Depends".
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2015 at 4:24 pm
The post from Joie Andrew is interesting and sound like the solution to my problem. I would like to know how to do this if you have a chance.
The reason we need to do this is that we have different networks and we often need to copy large db backups from one network to another. The only way to connect is via RDP so it takes hours to copy the files over. Well when you use the regular RDP session the it times out and you loose the copy. We are having to nurse these session while the copy is happening.
When we connect with the /admin the session does not time out and close. I will lock and continue to copy the files. The problem is that when i connected using /admin my drive were not mapped.
Please if you have a way that i can use the RDP file setting with the /admin connection it would be great.
Your help is appreciated.
Thank you very much
Jeff
June 13, 2015 at 5:07 pm
Try something like the following.
Joie Andrew
"Since 1982"
June 15, 2015 at 10:56 am
Thank you very much for the help. You saved me from having to sit in front of the computer for hours while the files copy over.
I marked your post as solution.
Jeff
June 15, 2015 at 12:25 pm
Jeff Moden (6/13/2015)
Alan.B (6/12/2015)
It's a bad idea to use RDP to manage a DB server.If you're going to say something like that, you need to explain why. To be sure, I'll say "It Depends".
I discourage it because RDP sessions use up memory and are not very friendly about returning that memory to "Available Memory" even after you end (not just disconnect from) your Terminal Services session.
Brent Ozar had a session back in 2012, at Redgate's "SQL in the City", called "Six Scary SQL Surprises". I attended it in Chicago and he demo'd why he discourages using Remote Desktop to manage your SQL Servers. He did some basic tasks such as copying files and opening SSMS and showed the impact it had on Available Memory. He did the same session in Seattle before SQL PASS 2012. The discussion is available on Youtube - he begins talking about it 12 minutes in where he talks begins talking about "Surprise #2: The cannibal that eats all your memory." He does not exclusively blame RDP but mentions it repeatedly as one of the culprits. Those presentations were compelling enough to scare me away from RDP as a tool for managing SQL Servers unless there is no other way and you understand the consequences of doing so.
Again, if there is something that you must do and RDP is your only option then I guess it's okay provided you don't copy files (or use XCopy with parameters that prevent caching), don't open an internet browser or other memory intensive application and close your session when you are done.
-- Itzik Ben-Gan 2001
June 15, 2015 at 12:25 pm
Glad to know it worked for you!
Joie Andrew
"Since 1982"
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply