Tech

  • IT Systems Engineering

    Weblogic Server "invalid pad byte" error

      Here is how to encrypt a password/username for weblogic’s boot.properties or config.xml file java -cp /opt/app/bea/weblogic81/server/lib/weblogic.jar -Dweblogic.RootDirectory=/opt/app/bea/user_projects/domains/mydomain3 weblogic.security.Encrypt test_password I got it from: Anything simple: Oracle BEA Weblogic Server 10 “invalid pad byte” error

  • IT Systems Engineering

    Setting a static IP using powershell

    Here is a quick way to set your IP address to a static value: $NICs = Get-WMIObject Win32_NetworkAdapterConfiguration -computername . | where{$_.IPEnabled -eq $true -and $_.DHCPEnabled -eq $true} Foreach($NIC in $NICs) {     $ip = "10.0.0.151"     $gateway = "10.0.0.1"     $subnet = "255.255.255.0"     $dns = "10.0.0.10","10.0.0.11"     $NIC.EnableStatic($ip, $subnet)     $NIC.SetGateways($gateway)     $NIC.SetDNSServerSearchOrder($dns)     $NIC.SetDynamicDNSRegistration("FALSE") } IPConfig /all Credits: Original script taken from here

  • IT Systems Engineering

    Set Dynamic IP address using powershell

    Here is a quick powershell script to set your network card TCP/IP setting to dynamic addressing: $NICs = Get-WMIObject Win32_NetworkAdapterConfiguration | where{$_.IPEnabled -eq “TRUE”} Foreach($NIC in $NICs) { $NIC.EnableDHCP() $NIC.SetDNSServerSearchOrder() } IPConfig /all   Credits: Original script taken from here

  • IT Systems Engineering

    Use SkyDrive to fetch a PC’s files

    I just found out a very cool feature of SkyDrive in Windows Live Essentials 2012. You can use it to connect to your PC remotely and fetch files in it even if you have not saved those files in the SkyDrive. Cool, eh? Would be very useful if you forgot to get a file from your home PC while at work or vice versa. Here is how to set it up: Set up a PC to fetch its files

  • IT Systems Engineering

    Missing Administrative Tools in Windows 7

    I have a Windows 7 workstation which I had been using earlier as a different user. When I logon as a new user I don’t see the “Administrative Tools”. So I thought maybe the admin tools I enabled in control panel >> add windows features may be a user profile thing…..ummm…no it wasn’t; I checked…admin tools were all enabled. I found out a quick solution: Right click on any empty area in the Start menu and click “Properties”. Click the “Customize” button under the start menu tab. Scroll down to “System Administrative Tools” Check the radio button “Display on the all Programs menu…” Click OK. There you have it!