June 2, 2011

Separate domain and Runas

Filed under: networking,windows plateform Himanshu @ 1:45 pm

Have you ever wonder how can you run a specific application having awareness of different domain’s credentials? We have VPN setup between our different offices, and all offices are having complete separate windows domain tree. I’m in Pune office, that is having domain, which has not direct relation to our US office (e.g. it’s not welcomed in networking terms) – and believe me there is a good reason to be it that way.

While being in Pune, I needed to run an application on my machine (that is in Pune domain), with is aware that I also have valid credentials in our US office. And Runas worked well in that case as well. Runas.exe can be found in %WINDIR%\System32, checkout its short help by: %windir%\system32\runas.exe /? on command prompt.

I had used it as %WINDIR%\System32\runas.exe /netonly /user:<my US domain name>\<my username in US domain name> “<path to the application that should run within that credentials>”

June 12, 2008

Cannot connect to server

Filed under: networking Himanshu @ 7:21 pm

Many times, we face this statement. And almost all time we forget simple tool like ping, telnet and tracert. When I get into the situation where we couldn’t connect client to server, the first thing that I do is can I ping server? If ping is failing at what level of network route it is failing- tracert? Can I open the port (using telnet) that client software is trying to connect to the server.

Many of the time this becomes question when we do have network (can ping, and hence can also tracert). But cannot open port. And usually it is because of firewall.

More to come…

Powered by WordPress