Johanns Sani-GREGORIAN

No Code
  • rss
  • Home
  • About
  • Gallery
  • Projects
  • Music

Extract Remote Server Installer from Shoreware Director 8 Installer

admin | October 16, 2008
If you are wondering why, then you don’t need to do this! :) 
  • Install WinRAR or similar archival application that can open CAB files.
  • Locate and Open “Data11.CAB” file from the Shoreware Director installation media.
  • Extract Setup.exe1 from “Data11.CAB” (file size should be approximately 443MB).
  • Rename Setup.exe1 to Setup.exe.
  • Run Setup.exe on remote server.
Default installation URL:
http://<YOUR_SHOREWARE_SERVER>/ShoreWareDirector/RemoteInstall
Comments
No Comments »
Categories
misc, networking, shoretel
Tags
shoreware director shoretel installation, windows remote install
Comments rss Comments rss
Trackback Trackback

HOWTO: Cache profile/domain credentials using Runas.exe

admin | October 1, 2008
Requirement: Target system:
  1. Must be a domain member.
  2. Must be able to reach a domain-controller (via LAN, VPN, dial-up, …).
  3. You must have access to an existing local or [cached] domain account.
HOWTO:
  1. Logon using any local or domain account. If necessary, connect to VPN before or after logging-in.
  2. Verify access to domain (i.e., Can you ping a domain controller?)
  3. Run the following command from a Command Prompt: runas /user:<domain\user> <executable>
    E.g.: runas /user:corp\johanns notepad.exe
  4. Enter user’s password when prompted. 
  5. If connection/authentication succeeds, the system will create and/or cache profile/credentials for the target account, and start the application specified by the runas command. At this point, you may exit the app, and logout of the proxy account.
  6. Logon using the newly cached credentials.
Comments
No Comments »
Categories
howto
Tags
windows profile cache domain account howto
Comments rss Comments rss
Trackback Trackback

“died in a computing accident”

admin | April 2, 2008

HA?

Index me.

Comments
1 Comment »
Categories
misc
Comments rss Comments rss
Trackback Trackback

.NET: Receive disk / media notifications from Windows Shell

admin | July 17, 2007

ShellMediaChangeNotifier: Provide means of  receiving drive addition and removal notifications triggered by Windows Shell (a.k.a: Explorer). This is a not a FileSystemWatcher clone, which raises events on changes made to specific files or directories.

ShellMediaChangeNotifier class is C++/CLI (why waste time with P/Invoke); while the provided demo is in C#.

Download: ShellMediaChangeNotifier and Demo Application

How-to use:
Read the rest of this entry »

Comments
1 Comment »
Categories
development
Tags
.net, c#, c++/cli
Comments rss Comments rss
Trackback Trackback

GeSHi C++ and Windows Data Types

admin | June 5, 2007

I’ve updated the GeSHi C++ langauge file to include Microsoft Windows (Win API) Data Types (I was bored I guess).

To install, replace “cpp.php” in your GeSHi directory with the attached file.

GeSHi C++ Langauge File with Windows Data Types

Comments
No Comments »
Categories
development
Tags
cpp, geshi
Comments rss Comments rss
Trackback Trackback

Dynamips + Vista + UAC

admin | June 4, 2007

To run Dyamips/Dynagen as Administrator in Vista, you have to modify the .cmd files created by the Dynagen package installer, to use absolute path(s).

You can download the modified batch files here: Dynamips Windows Command Script files

Simply, replace those files in the Dynamips installation folder.

See my previous post for additional details (link).

EDIT: You may also need to give your user Modify or Full control permission over the Dynamips (Dynagen) install folder if you want to be able to modify any file (including the script files). The real pain is when you try to modify the sample lab files (e.g.: simple1.net, etc.).

The Dynagen package installer, installs in %SYSTEMDRIVE%\Program Files\Dynamips.

Comments
7 Comments »
Categories
misc
Tags
cisco, emulator, ios, vista
Comments rss Comments rss
Trackback Trackback

Cisco 26xx/36xx/72xx Router Simulator (Windows)

admin | May 29, 2007

UPDATE: I highly recommend anyone interested in Dynamips to check-out GNS3 (Graphical Network Simulator). It’s designed around Dynamips, Dynagen, and Pemu. Cisco IOS/PIX binary images not included! :)

Link: http://www.gns3.net/

—

Dynamips is a Cisco router emulator. It support various Cisco 2600, 3600, 3700, and 7200 series router models.

Dyangen is a front-end for Dynamips router emulator. It utilizes Dynamips’ Hypervisor mode to make lab simulation management very easy.

Installing / Running Dynamips and Dynagen on Windows (XP, 2003, Vista):

  • Install WinPcap 4 (Windows Packet Capture Library) from WinPcap.org (link to auto-installer).
  • Install the latest version of the Dynamips/Dynagen “package” installer from SourceForge.
    NOTE
    : April 29th, 2007 build is labeled: dynagen-0.9.2_dynamips-0.2.7-RC3_Win_XP_setup.exe

NOTE: Users with Vista UAC enabled may encounter issue(s) when trying to run Dynamips/Dynagen. Solutions:

  1. Disable UAC! ;)
  2. Run the Dynamips server and Dynagen as Administrator; however, you must first modify the “dynamips-start.cmd“, “dg-local.cmd“, and “Network device list.cmd” script files, located in the DynMIPS installation folder:
    (e.g.:
    Before
    : start /belownormal /B /wait “Dynamips” “dynamips.exe” -H 7200
    After
    : start /belownormal /B /wait /D “\Program files\Dynamips\” “Dynamips” “dynamips.exe” -H 7200
    )
    UPDATE: Check my next blog entry to download the updated startup scripts (.cmd) files.

Quick Start:

Read the rest of this entry »

Comments
19 Comments »
Categories
networking
Tags
cisco, emulator, ios, vista
Comments rss Comments rss
Trackback Trackback

 

January 2009
M T W T F S S
« Oct    
 1234
567891011
12131415161718
19202122232425
262728293031  

Categories

  • development
  • howto
  • misc
  • networking
  • shoretel

Tags

.net c# c++/cli cisco cpp emulator geshi ios shoreware director shoretel installation vista windows profile cache domain account howto windows remote install

Blogroll

  • Howard Scholz
  • Will Sani

Company

  • Gearworx LLC
  • Veritix

Links

  • LinkedIn Profile
  • Register

Spam Blocked

1,569 spam comments
blocked by
Akismet
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox