Category Archives: Setting up Applications

Windows 7: Removing the Windows 10 upgrade notification

There’s two ways – neither have been tried yet. This is for future reference – just in case.

From an elevated command prompt, run: "wusa /uninstall /KB:3035583".
 Then, hide the update when it is offered again.

wusa /uninstall /kb:3065988 /quiet /norestart
 
 wusa /uninstall /kb:2976978 /quiet /norestart
 
 wusa /uninstall /kb:3075853 /quiet /norestart
 
 wusa /uninstall /kb:3065987 /quiet /norestart
 
 wusa /uninstall /kb:3050265 /quiet /norestart
 
 wusa /uninstall /kb:3050267 /quiet /norestart
 
 wusa /uninstall /kb:3075851 /quiet /norestart
 
 wusa /uninstall /kb:2902907 /quiet /norestart
 
 wusa /uninstall /kb:3068708 /quiet /norestart
 
 wusa /uninstall /kb:3022345 /quiet /norestart
 
 wusa /uninstall /kb:2952664 /quiet /norestart
 
 wusa /uninstall /kb:2990214 /quiet /norestart
 
 wusa /uninstall /kb:3035583 /quiet /norestart
 
 wusa /uninstall /kb:971033 /quiet /norestart
 
 wusa /uninstall /kb:3021917 /quiet /norestart
 
 wusa /uninstall /kb:3044374 /quiet /norestart
 
 wusa /uninstall /kb:3046480 /quiet /norestart
 
 wusa /uninstall /kb:3075249 /quiet /norestart
 
 wusa /uninstall /kb:3080149 /quiet /norestart
 
 wusa /uninstall /kb:3083325 /quiet /norestart
 
 wusa /uninstall /kb:3083324 /quiet /norestart
 
 wusa /uninstall /kb:3035583 /quiet /norestart

Or

Open GWX Stopper at http://ultimateoutsider.com/downloads/

Reference: Hardforums

Vmware and Time Problems

ESXi server has issues syncing time across all virtual machines running Windows Server 2012. To remedy, set operating systems to manually sync time against external NTP servers.

 w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:manual /update

https://kickthatcomputer.wordpress.com/2013/03/06/configure-time-sync-on-windows-computers/

Moga Pro Controller and Android

  • When turning the power on, use HID mode or Mode B. This will emulate keyboard mode.
  • Download the Universal Moga Driver
  • Pair with Bluetooth
  • Create a virtual keyboard profile and map the directional keys
  • When using SNES emulator, make sure you map the keys to the same buttons as the game pad configuration from the Moga Driver Screen.

Zimbra: Update MTA Server IP Address

Recently my VPS provider changed the IP address for the server. On top of updating the hosts file, you also need to update the IP address used for the MTA.

In the Zimbra Web Admin Console, Configure -> Servers -> Click on the server in the right pane -> MTA -> MTA Trusted Networks

Visual Studio Will Not Start

After installing an extension, I sometimes get the following error

A problem occurred when loading the Microsoft Visual Studio menu. To fix this problem, run 'devenv.exe /resetsettings' from the command prompt. Note: this command resets your environment settings.

Open up Developer Command Prompt and try the following:

devenv /setup

and then start Visual Studio. If you still get an error, try starting it from the Administrator Command Prompt with the command

devenv

 

Reference: Stackoverflow

 

Installing and Configuring Monit on Ubuntu Server

Run the following to install:

sudo apt-get install monit

To configure, open the file

sudo nano /etc/monit/monitrc

I added the following to the file to monitor the user and system CPU usage. Not sure if this will work yet.

check system localhost    
    start program = "/opt/zimbra/bin/zmcontrol start"
        as uid zimbra and gid zimbra
    stop program = "/opt/zimbra/bin/zmcontrol stop"
        as uid zimbra and gid zimbra            
    if cpu usage (system) > 99% for 5 cycles then restart    
    if cpu usage (user) > 99% for 5 cycles then restart

Setup the Http server so you can check status remotely

 set httpd port 2812
    use address ipaddress
    allow 0.0.0.0/0.0.0.0
    allow user:pw

If you have csf installed, make sure you update your csf config file to open up port 2812

vi /etc/csf/csf.conf

and then to reload csf

csf -r

Reload monit

monit reload

Check monit status

monit status

References:

 

Windows: Convert .wav to .m4a [PC Audio to AAC] using FFmpeg

The latest version of ffmpeg use the libvo_aacenc library. This means the libfdk_aac library is optional.

To convert, type the following

ffmpeg -i in.wav out.aac

Or run the following script in a directory to batch convert files.

@ECHO OFF

FOR /R %%G IN (*.wav) DO (CALL :SUB_VLC "%%G")
FOR /R %%G IN (*.wav.m4a) DO (CALL :SUB_RENAME "%%G")
GOTO :eof

:SUB_VLC
 SET _firstbit=%1
 SET _qt="
 CALL SET _newnm=%%_firstbit:%_qt%=%%
 SET _commanm=%_newnm:,=_COMMA_%
 REM echo %_commanm%
 CALL "D:\Program Files (x86)\FFmpeg\bin\ffmpeg.exe" -i %1 "%_commanm%.m4a
GOTO :eof

:SUB_RENAME
 SET _origfnm=%1
 SET _endbit=%_origfnm:*.wav=%
 CALL SET _newfilenm=%%_origfnm:.wav%_endbit%=.m4a%%
 SET _newfilenm=%_newfilenm:_COMMA_=,%
 COPY %1 %_newfilenm%
 DEL %1
GOTO :eof

:eof