asnivor.com

I finally got around to getting my music blog up and running. Not a lot there at the moment but expect some new tunes in the not too distant future.

http://asnivor.com


:asniTunes

In the past year I have been putting together some new tunes in genres I’m not used to working in (PsyTrance/Trance/Techno/OldSchool).

Give them a listen @ http://reverbnation.com/asnivor & http://myspace.com/asnivor.


:runAsAdmin

I got tired of users calling me and wanting something installed on their PC through internet explorer (eg flash updates) and either having to log off and back on with an elevated account, or run IE (don’t ask) as an administrator.

So, I wrote a little batch file to simplify the process….

mode con[:] [cols=50] [lines=100]
ECHO off
:MENU
COLOR 3
CLS
ECHO .......................................................
ECHO RunAsAdmin.bat
ECHO .......................................................
ECHO.
ECHO (http://bitbucket.org/asnivor/runasadmin)
ECHO .......................................................
ECHO.
ECHO.
ECHO.
ECHO Enter Account to RunAs (in the form domain\accountname or accountname)
ECHO.
SET /P U=
ECHO.
ECHO.
ECHO 1 - CMD Prompt
ECHO 2 - Services
ECHO 3 - Computer Management
ECHO 4 - Device Manager
ECHO 5 - *Type a command*
ECHO 6 - Internet Explorer
ECHO.
ECHO.
ECHO 0 - EXIT
ECHO.
SET /P M=Type number then press ENTER:
IF %M%==1 GOTO CMD
IF %M%==2 GOTO SERVICES
IF %M%==3 GOTO COMPUTERMANAGEMENT
IF %M%==4 GOTO DEVICEMANAGER
IF %M%==5 GOTO TYPECOMMAND
IF %M%==6 GOTO IE
IF %M%==0 GOTO EOF
:CMD
COLOR 6
runas /user:%U% "cmd.exe"
GOTO MENU
:SERVICES
COLOR 6
runas /user:%U% "mmc services.msc"
GOTO MENU
:COMPUTERMANAGEMENT
COLOR 6
runas /user:%U% "mmc compmgmt.msc"
GOTO MENU
:DEVICEMANAGER
COLOR 6
runas /user:%U% "mmc devmgmt.msc"
GOTO MENU
:TYPECOMMAND
COLOR 6
CLS
SET /P A=Type command then press ENTER:
runas /user:%U% "%A%"
GOTO MENU
:IE
COLOR 6
runas /user:%U% "c:\program files\internet explorer\iexplore.exe"
GOTO MENU
:EOF
EXIT

I’ve added a few more things to it (such as access to Device Manager, Computer Management etc) and it’s easily customisable so do what you like with it :)

http://bitbucket.org/asnivor/runasadmin/


:helloWorld

So I finally got a blog site up and running. WordPress template creation seems to be quite enjoyable (and pretty easy) so I will have to stick at it.

This is supposed to be a place where I can chuck some of the things I’m working on, along with any other techy ramblings and geeky stuff. We’ll see how it goes…….

EOF