Posts Mentioning RSS Toggle Comment Threads | Keyboard Shortcuts

  • Chewy Chong 3:14 am on July 27, 2004 Permalink | Reply  

    Scriptable Command Line RunAs 

    Just talking to a buddy of mine in the UK and he asked something kinda interesting.  The client he’s working for is trying to run a command… in another user’s security context.  The client is doing this from the command line and wants the whole process to be interaction free.

    Windows offers a built in tool called ‘runas’.  Go ahead and try this out from your command line. 

    runas /user:mycomputer\sampleuser notepad.exe

    The command will prompt you for the user’s password then run the command as if you were that user.  Hmm… this process has to be ‘interaction free’ so prompting for the password would fail this requirement.

     

    If only we had a way to “pipe” the password in.  Yup… someone on the internet has done this.

     

    http://www.commandline.co.uk/sanur/

     

    The resulting command is:

    runas /user:mycomputer\sampleuser notepad.exe | sanur pa55words

    Bam!  You have a scriptable way to run a command in another context.  Got to love the internet.

    Side note:  The developers were trying to write their own tool using .NET C# and the CreateProcessWithLogonW function.  If we figure this out, I’ll fill you guys in.  

     

     

     
  • Chewy Chong 6:48 pm on July 20, 2004 Permalink | Reply  

    NetMeeting Actually In Windows XP 

    Something I found rather interesting.  For some reason, NetMeeting is part of a Windows XP install.  To run it, simply type in ‘conf.exe’ at the command line.

    Application is located ‘c:\program files\netmeeting’

    Don’t get me wrong, I like having NetMeeting this accessible.  Every time I want to do a video chat with friends / family back home and a firewall is giving us problems… NetMeeting usually works since it provides a lot more control over how you connect.  Instead of having my parents configure their firewall, I simply disable mine and have them connect to me.

    Kinda strange though NetMeeting is installed without me explicitly saying it should be.  You would think it would go against the whole ‘secured by default’ concept in Microsoft’s Trustworthy Computing Initiative.  Well… you do have to explicitly run it first.

     
  • Chewy Chong 1:38 am on July 20, 2004 Permalink | Reply  

    Configuring Outlook 2003 for RPC over HTTP Connectivity 

    You have no idea how many times I’ve either needed to do this myself or help someone else to do this.  What is it you say?  It allows you to use the Outlook fat client (not OWA) in a location where your internet connectivity blocked by a proxy.  Outlook 2003 wraps its normal RPC traffic with HTTP so it passes through the proxy (typically, the traffic is actually HTTPS).  On the Exchange Server 2003 / Windows Server 2003 side, the RPC traffic is extracted from the HTTP traffic and passed to the mail server. 

    If you have the server backend to support this (and everything has been properly configured on the servers), you can configure Outlook 2003’s RPC over HTTP functionality with this guide:

    http://www.microsoft.com/office/ork/2003/three/ch8/OutC07.htm

    You need to have hotfix Q331320 installed which enables RPC over HTTP functionality.  You can download this hotfix here:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=8670CFF6-3D95-496E-8DF4-13D8F38715FA&displaylang=en

     
  • Chewy Chong 7:24 am on July 7, 2004 Permalink | Reply  

    Bandwidth Shaping Tool 

    If you have shared bandwidth and would like a way to shape the bandwidth allocated to certain machines… try:

    http://bandwidthcontroller.com/

    They have a 30 trial product.

    In the past, I needed a way to simulate WAN links (speed, lost packets, packets out of order).  Used a product called Shunra Cloud.  Really cool but you’ll have to buy the product.  Can get an eval from them.

    http://www.shunra.com

     

     
  • Chewy Chong 7:43 pm on July 5, 2004 Permalink | Reply  

    BizTalk SSO EventLog Errors 

    If you get the following eventlog messages:

    The master secret has not been backed up. If you lose the master secret all the information stored in the SSO system will be lost permanently and your systems may fail to work correctly. Please use the SSO admin tools to back up your master secret.

    You (obviously) need to backup your master secret key.  To do so:

    C:\Program Files\Common Files\Enterprise Single Sign-On>ssoconfig -backupsecret c:\mastkeyfile.bac

    Should be easy but took us a while to locate which SSO admin tool the eventlog message was referring to.

     
  • Chewy Chong 7:27 pm on July 2, 2004 Permalink | Reply  

    Virtual Server 2005’s P2V Tool 

    I just got a pre-release version of the P2V tool for Microsoft Virtual Server 2005.  Yum!!!  Something interesting to work on this weekend (along with my million other things).  When I have it working, I’ll fill you guys in. 

     

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel