Showing posts from January, 2012

Howto: Two different subnets same physical LAN how to get them to talk without a gateway

Have you ever ran into a problem where you had two windows boxes that were on different sub nets on the same physical LAN and you needed to establish temporarily communication?
Say you have these two computers with the following ip addresses.
Computer 1 
Computer 2

So what we are going to do is tell each computer that in order to get to the other computer they have to go out their local interface.
Open a command prompt and run each of the following commands on the respective computer.
Computer 1 route add MASK
Computer 2 route add  MASK

This now should allow for communication to occur.

I wrote a batch file to help with adding the route command

@echo off
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Echo Created By Tony Unger
Echo **********************************************************************
echo Note:

echo Setup Routing Table
Echo Enter IP add…
ATTR attributes for Solidcore 5

These are not listed in the documentation I had to get this information from development.

Attr command can be used to configured the required files to behave corresponding the solidifier.

-a  Always authorized attribute
     This attribute allows the user to configure a supported file as always authorized to execute.
      File configured under this attribute will be allowed to execute whether solidified or not.

-b  Bypassed from memory control attribute
      This attribute allows user to configure a process to run bypassed from MP-mangking and MP-decoying.
      This is one of the memory protection technique provided by solidifier but it is disabled by default.

-c  Bypassed from Critical Address Space Protection attribute
     Critical Address Space Protection is the latest and most effective memory protection technique provided by Solidifier. It is enabled by default.

     -c attribute configures a process to run bypassed from MP-CASP.

-d  Bypassed f…
Runas Touch Screen Application

One of the problems I had at work was the ability to run an application as a different user on a touch screen computer. So I wrote an application that dynamically creates buttons based on what it reads from a text file called paths.txt. This program does support arguments and should be able to figure out how to break up the path to find them.

To install just extract the application and paths.txt to a folder and runas away.

.net 4 framework
osk.exe in the usual place if you want to use the onscreen keyboard

Add some more error checking with reading the text file
Clean code
Maybe allow this to work with domain user if someone wants.


Add\Remove Programs,rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl
Command Prompt,C:\Windows\System32\cmd.exe
Datetime,rundll32.exe shell32.dll,Control_RunDLL TimeDate.cpl
Display Properties,rundll32.…