Mount the ISO: sudo mount -t udf -o loop,ro,unhide /path/to/file.iso /mnt Insert the USB drive. Run fdisk and specify the device name of the USB drive; for example: sudo fdisk /dev/sdc Delete any existing partition table and create a new one. Create a new partition of at least 4.5 GB. Mark it bootable and set…
Tag: MS Windows
.Net Restart an ASP.NET application programmatically without editing the web.config
Windows oddly.. but a good friend found this it’s on her site: http://rochcass.wordpress.com/2013/03/28/restart-an-asp-net-application-programmatically-without-editing-the-web-config/ to quote: Several times I would be working on a site and some data would not change due to session variables or the .NET cache. This can’t be eliminated by clearing the browser cache but would need the whole ASP.NET application to…
Windows setting a static route from commandline
Just a note to myself really ! route add -p 192.168.4.0 mask 255.255.255.0 192.168.1.250 metric 2
Enable Hybernation and do it Windows 7 / 2008 / R2 command line
The more time passes the closer to Unix style Windows gets. :\Users\Administrator>powercfg -h on :\Users\Administrator>shutdown -h That’s all !
Windows command line power control
While this is a Linux forum this came in REALLY handy so what the heck 🙂 Frustratingly hidden away, windows command for putting the machine into Hibernate and / or standby are hidden away in the api under the powrprof.dll library. Shutdown %windir%\System32\shutdown.exe -s Reboot %windir%\System32\shutdown.exe -r Logoff %windir%\System32\shutdown.exe -l Standby %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby Hibernate %windir%\System32\shutdown.exe -h OR…