1,023 reputation
31525
bio website
location
age
visits member for 5 years, 6 months
seen Dec 3 at 21:42

Mar
25
comment How to route traffic over an active VPN tunnel by domain name?
I figured it out. I had to assign different subnets in the IPv4 routing services of the server in order to ensure the servers got different addresses. My first server allocates addresses in the subnet 192.168.1/24 and the other one allocates addresses in the subnet 192.168.2/24, which results in them getting different server IPv4 addresses (e.g. 192.168.1.1 and 192.168.2.1). I can now address them independently, the firewall is set up to allow sharing protocols only from those IP addresses, and everything is working fine. No 3rd party software required.
Mar
24
comment How to route traffic over an active VPN tunnel by domain name?
I also find that if I disconnect the two VPNs and connect only 1, when I try to connect to 192.168.1.1 again, explorer times out. If I run diagnostics on it, it says "file and print sharing resource (192.168.1.1) is online but itsn't responding to connection attempts). Originally I was getting that when I had to firewall restricted to the local subnet, but that's all resolved. This issues seems to stem from windows not keeping track of stuff right and leaving connections open and caching paths and rendering them invalid once you start connecting and disconnecting to different networks.
Mar
24
comment How to route traffic over an active VPN tunnel by domain name?
When I click the network icon in the taskbar, and view the status of each VPN connection on the client they show independent "Client IPv4 address" (192.168.1.101 and 192.168.1.102), which are assigned statically to my user account on each respective server under the dial-in tab of the user account settings in computer management). The destination addresses show the two independent WAN addresses of the servers. But the "Server IPv4" addresses are both 192.168.1.1. So there's no way for me to target one or the other, and somehow the 101 and 102 addresses end up pointing to the same server.
Mar
24
comment How to route traffic over an active VPN tunnel by domain name?
Windows Server 2008 R2 and Windows Server 2012, the built-in Routing and Remote Access VPN; they are virtually identical, and I've been using both of them for a while now. There is no third-party VPN software involved.
Mar
24
comment How to route traffic over an active VPN tunnel by domain name?
Suppose I have to set up the routes manually. The problem is that Windows is assigning the same Server IPv4 address to both VPN connections, so I cannot target one VPN separate from the other. I'm really looking for someone who knows how to set up 2 VPNs in Windows 7 and how to route traffic to one or the other (e.g. where to look in the VPN's status window for the correct IP address to use).
Mar
24
comment How to route traffic over an active VPN tunnel by domain name?
My VPN client is Windows 7; it's built-in.
Mar
24
comment How to route traffic over an active VPN tunnel by domain name?
I need more low-level information. At some point a VPN adapter or driver must process the traffic for encyrption and then route it to the VPN server's IP address on a specific port. What I don't understand is why Windows gives two different IP addresses to two different VPNs, but only routes traffic to one VPN reguardless of which of the two IP addresses I use. Is it some kind of bug? Then there is the problem of it treating the mapped folder connection differently depending on whether a domain name or IP address is used.
Mar
3
comment How to get the specs of a server?
The OS varies. Currently Windows Server 2008 and 2012 Datacenter 64-bit. I would prefer an answer that either works with VMware virtual hosts in general (in which case the OS wouldn't matter), or an approach that would work for various operating systems, such as a multi-platform tool. I'm not sure whether the most detailed specs would be available from within the virtual hosting infrastructure such as through the VMware Client or if more information would be available only within the host OS itself, due to like... availability of drivers affecting emulated clock speed.
Mar
3
comment How to get the specs of a server?
That's useful, although even after selecting all available fields, it doesn't provide the clock speed of the CPU. The EVC Mode comes closest providing the name of the CPU, but not the clock speed, so even this approach is a bit lacking, and wouldn't work as a general solution for getting the specs quickly and easily.
Oct
15
comment Automatic connect to VPN in Windows server 2003
Not sure if this applies to server 2003, but in 2012 and probably 2008, you can just use the "Task Scheduler" feature to run "c:\windows\system32\rasdial.exe", set the arguments to the name of the VPN connection in quotes, triggered to run on startup, and specify the option "Run whether user is logged on or not". You don't have to be on a domain (mine isn't), but make sure the task is set to "Run with highest privileges", and also make sure your credentials are saved in the VPN connection, because you definitely don't want to put them in plain text in the argument list for the task.
Oct
15
comment Automatic connect to VPN in Windows server 2003
Not sure if this applies to server 2003, but in 2012 and probably 2008, you can just use the "Task Scheduler" feature to run "c:\windows\system32\rasdial.exe", set the arguments to the name of the VPN connection in quotes, triggered to run on startup, and specify the option "Run whether user is logged on or not". You don't have to be on a domain, but make sure the task is set to "Run with highest privileges", and also make sure your credentials are saved in the VPN connection, because you definitely don't want to put them in plain text in the argument list for the task.
Oct
14
comment SQL will not shrink a log file even though it is 99% free space, gives 'all logical log files are in use' error
Glad I'm not the only one. I've tried shrinking this 3Gig file in ever conceivable way and nothing works. Numerous transaction log backups, with and without copy option, tried the shrink immediately after, a while after, with and without updating the database, tried lowering the initial size of the log, restarted the database, nothing works. File is stuck at 3GB despite having 95% free space. What a waste of time.
Oct
14
comment SQL will not shrink a log file even though it is 99% free space, gives 'all logical log files are in use' error
Didn't work for me.
Jul
30
comment Windows update looks completely different on two servers both running Windows Server 2012?
There's also what I would call a bug in that the "start typing to search" feature is broken if you click in a blank area of the search results, the search bar goes away, and when you start typing again, nothing happens. The odd thing is it only happens if you have "Settings" results selected on the right. And it's not just that you clicked something, because if you click back to Apps, you can still just type to bring the search bar back. Once in settings, you have to mouse into the lower right corner, bring up the charms bar, and click search to bring it back, or exit out and restart.
Jul
30
comment Windows update looks completely different on two servers both running Windows Server 2012?
The advantage of the new start screen isn't it's pretty icon layout, that's basically useless. The advantage is being able to press start, start typing something, and seeing a full-screen view of results with descriptions... something that was impossible with the old tiny start menu. And it's great for terminal services too. I'm just tripping up on some unexpected inconsistencies, like the missing "Windows Update" result (present in Windows 7 too), and the strange stuck behavior of the start screen.
Jul
30
comment Windows update looks completely different on two servers both running Windows Server 2012?
No, in my comment I was talking about a clean install of 2012. Both machines, with and without desktop experience, use the metro start screen. The "stuck in start screen" issue is occurring on the machine without the desktop experience installed. In any case, going through control panel completely defeats the purpose of the accelerated start screen, where you can press Windows Key, type a few letters of what you want, then press enter to go there. The "Windows Update" item should be present in both configurations.
Jul
30
comment Windows update looks completely different on two servers both running Windows Server 2012?
I see. Something else strange I noticed is that when logging in with remote desktop, the start screen is open and stuck. It's not frozen; I can interact with it, but I can't dismiss it in any of the usual ways. Pressing escape has no effect and hovering to the corners (difficult b/c it's on a multi-monitor setup where the screens meet) also has no effect. The only way to escape the start menu is to press the start button to reactivate it or to click the "desktop" panel. It's very strange behavior, and the start menu shouldn't even be visible by default upon connecting to the session.
Jul
19
comment The built-in “Administrator” account has start screen shortcuts by default that my created account lacks. How do I get them?
What they really need is two separate "All Users" shortcut lists... one for everyone and one specifically for administrators. That way, things like IIS Manager could go to the "All Administrators" list, and any new administrator accounts created would dynamically pull from that list as well as the normal "all users" list, while non-administrators would only pull from the normal "all users" list. Whatever it's doing now is not helpful. Love the new start screen in general though.
Jul
19
comment The built-in “Administrator” account has start screen shortcuts by default that my created account lacks. How do I get them?
They were probably added as I installed roles, such as IIS (why would it be there prior to installing IIS, after all). I just don't understand why shortcuts for system-wide services like that would only go to one user's start menu on a server. Perhaps it was because I created the user after the fact. In any case, if I create a new user after everything is installed, there should be a way to get more than a virtually empty start screen for them if there are already a lot of programs installed, like allowing the user to pull shortcuts in from all users or specific users start menus.
Jul
19
comment Windows Installer runs constantly in the background on Windows Server 2012?
The first fix seems to have worked. It's annoying, because this is a clean install of the OS, with just SQL Server and Visual Studio 2012 installed. I run Windows Update and then all of the sudden I can't install programs anymore. Not good. Anyway, it's fixed now.