Thursday, 14 June 2012

TipZ#004:Bypass Annoying "Run as Admin" Option

Scenario:

  • You have got 2 or more user accounts in windows 7. one of them is Admin and the other is Standard user.
  • You normally use standard user account. and just put in the password when some app wants admin access. 
  • Now the problem is you run an app daily and it needs admin access. And you are annoyed of punching in the password everytime.
So here is the solution,
You need: 
  1. MiniRunAs.exe >> rename this to runn.exe   (this is a runas alternative)
  2. Elevate.exe   (this invokes elevation to highest Admin rights)
  3. Command or program to run.
Now put the runn.exe and Elevate.exe in one folder.

Eg.:
  • You have to run "AdmiN PaneL.msc" everyday as an admin.
  • Its path is  "C:\Users\User\Desktop\scratch\AdmiN PaneL.msc"
  • You put a copy of runn.exe and elevate.exe it the same path that is  "C:\Users\User\Desktop\scratch\"
  • Now create a shortcut with a target like this
    • C:\Users\User\Desktop\scratch\runn.exe <adminusername> <adminpassword> "C:\Users\User\Desktop\scratch\Elevate.exe" "C:\Users\User\Desktop\scratch\AdmiN PaneL.msc"
    • Note the above point is one single line.
  • Done. This shortcut will run  "AdmiN PaneL.msc"  using admin account and with elevated rights.
  • Similarly you can run a cmdline statement
    • C:\Users\User\Desktop\scratch\runn.exe  <adminusername> <adminpassword> C:\Users\User\Desktop\scratch\Elevate.exe C:\Users\User\Desktop\scratch\devcn.exe restart "PCI\VEN_10EC&DEV_8136&SUBSYS_1426103C&REV_02"
    • The above shortcut allows me to restsrt  my ethernet adapter. {devcn.exe is device console}
Note This method is unsecure. Your password is shown in plain text. Hide these shortcuts if necessary.

My DesktoP



Things you see:

  1. Rainmeter skin: Tech-A by Burnwell88: Get it here.
  2. Windows 7 Gadget: Network Meter by addgadgets.com: Get it here.
  3. Wallpaper by N4u2k: Get it here.


P.S. The place at the centre of all those circles is where I live.

Wednesday, 13 June 2012

TipZ#003:Explorer TrickS


  1. Windows Explorer provides secondary sorting: For example, In Details View single click a column header will set primary sorting order and ShifT+Clicking another column set it for secondary sort order. See the pics below for eg.
    1. Primary sorted by Type(Asc.) and Secondary sorted by Name(Asc.)
    2. Primary sorted by Type(Asc.) and Secondary sorted by Name(Desc.) 
    3. Primary sorted by Type(Asc.) and Secondary sorted by Size(Asc.) 
    4. Primary sorted by Type(Asc.) and Secondary sorted by Size(Desc.)  

Thursday, 17 May 2012

AutoHotKey


AutoHotkey is a free, open-source utility for Windows. With it, you can:

  • Automate almost anything by sending keystrokes and mouse clicks. You can write a mouse or keyboard macro by hand or use the macro recorder.
  • Create hotkeys for keyboard, joystick, and mouse. Virtually any key, button, or combination can become a hotkey.
  • Expand abbreviations as you type them. For example, typing "btw" can automatically produce "by the way".
  • Create custom data-entry forms, user interfaces, and menu bars. See GUI for details.
  • Remap keys and buttons on your keyboard, joystick, and mouse.
  • Respond to signals from hand-held remote controls via the WinLIRC client script.
  • Run existing AutoIt v2 scripts and enhance them with new capabilities.
  • Convert any script into an EXE file that can be run on computers that don't have AutoHotkey installed.
  • Getting started might be easier than you think. Check out the quick-start tutorial.


Plus a whole lot more...

  • Change the volume, mute, and other settings of any soundcard.
  • Make any window transparent, always-on-top, or alter its shape.
  • Use a joystick or keyboard as a mouse.
  • Monitor your system. For example, close unwanted windows the moment they appear.
  • Retrieve and change the clipboard's contents, including file names copied from an Explorer window.
  • Disable or override Windows' own shortcut keys such as Win+E and Win+R.
  • Alleviate RSI with substitutes for Alt-Tab (using keys, mouse wheel, or buttons).
  • Customize the tray icon menu with your own icon, tooltip, menu items, and submenus.
  • Display dialog boxes, tooltips, balloon tips, and popup menus to interact with the user.
  • Perform scripted actions in response to system shutdown or logoff.
  • Detect how long the user has been idle. For example, run CPU intensive tasks only when the user is away.
  • Automate game actions by detecting images and pixel colors (this is intended for legitimate uses such as the alleviation of RSI).
  • Read, write, and parse text files more easily than in other languages.
  • Perform operation(s) upon a set of files that match a wildcard pattern.
  • Work with the registry and INI files.

CHDK

"If you're using a consumer grade point-and-shoot Canon digital camera, you've got hardware in hand that can support advanced features way beyond what shipped in the box. With the help of a free, open source project called CHDK, you can get features like RAW shooting mode, live RGB histograms, motion-detection, time-lapse, and even games on your existing camera. Let's transform your point-and-shoot into a super camera just by adding a little special sauce to its firmware."--Lifehacker

CHDK--Canon Hacker's Development Kit.

What can CHDK do --

  • Enhanced Image Capture: CHDK supports RAW format for pictures (in addition to JPEG), longer recording time and length for videos (up to 1 hour or 2GBs), and several new compression options.


  • Additional Information On-Screen: With CHDK, you can customize your on-screen display to your heart's content, including worthwhile information like remaining battery life, histogram, depth of field, and more.


  • Additional Photographic Settings: CHDK takes many of the features already available on your camera and gives you way more options, including longer exposure times (more than 65 seconds), faster shutter speeds (1/25,000 sec or faster), automatic bracketing of your photos, and more.       




                                                               
      • Support for Small Programs/Scripts: CHDK can run small scripts that will allow your camera to perform a set of actions based on the conditions of the script. Tons of scripts are available, and they provide functionality like motion-sensing photography (which reportedly works for lightning strikes) and unlimited interval time-lapse photography.                                                             
        So if you own a Canon P&S(Point n Shoot) Camera. And want more manual control over your camera and even extend its features. Click here to check if your Camera supports it.

      Sometimes porting for your camera might be W.I.P. so use google to find appropriate porting forum thread.

      Wednesday, 16 May 2012

      TipZ#002:Firefox Addons

      1. DownThemAll: Get a multi-segmented download accelerator that works inside firefox. Useful on Computers with firefox and without admin access.>>DownThemAll
      2. Video DownloadHelper: Can download streaming content from most sites. Pair it with the above DTA.>>Video-DownloadHelper
      3. BYTubeD: Bulk YouTube video Downloader. The name says it all.>>BYTubeD
      4. GProxy: 2-click proxy changer. Useful for people who use proxies to access internet.>>GProxy

      TrackMania² Canyon

      An Awesome Game.
      The TrackMania phenomenon is back! TrackMania² Canyon will give players an adrenaline-filled experience, even better than the original TrackMania game played by millions. TrackMania² goes far beyond traditional driving games with a fully customisable world of tracks generated by the players themselves! With loops, wall rides, ramps and a multitude of other stunts, you're in for the ride of your life!

      TipZ#001:Win+ShortcutZ

      You can create a new folder in windows 7 using the quick shortcut CtrL+ShifT+N.
      You can permanently delete a file in windows using ShifT+DeL.(You are warned that it won't be recoverable from RecycleBin)
      Yoe can open MyComputer in windows using Win+E.

      Bulk Rename Utilty

      Bulk Rename Utility is a free file renaming software for Windows. Bulk Rename Utility allows you to easily rename files and entire folders based upon extremely flexible criteria.

      XBMC

      This a software that will convert your computer into a "Media Center". 
      It has been designed to be the perfect companion for your HTPC. Supporting an almost endless range of remote controls, and combined with its beautiful interface and powerful skinning engine, XBMC feels very natural to use from the couch and is the ideal solution for your home theater.


      its available for OSX, OSXPPC, Linux, Windows, ATV – ATV2, iOS and as a liveOS named XBMCbuntu.

      Use it with MediaCompanion. this will scrape all the media details for XBMC