Wednesday, August 21, 2019

PCI Data Acquisition and Signal Processing Controller driver for HP and ASUS [solved, no kidding!]

PCI Data Acquisition and Signal Processing Controller driver

When your ASUS or HP laptop shows a missing driver in the windows device manager, you can use this driver package from HP to install the driver. 


This package contains the driver that enables the Intel Dynamic Platform and Thermal Framework firmware. Intel Dynamic Platform and Thermal Framework provide system temperature and power utilization information for the system thermal
protection to function properly. This package is provided for supported notebook models running a supported operating system. This will work on ASUS Zenbook Touch UX31A and HP laptops too.


Monday, August 12, 2019

Batch Conversion of .MOV files to .MP4 using VLC and ffmpeg

Here's How I Convert Apple Quicktime .MOV Video to .MP4


Convert it using MSDOS Batch Scripting and VLC player


for %%a in (*.mov) do cmd /c "C:\program files (x86)\VideoLan\VLC\vlc.exe" ^
-I dummy -vvv %%a ^
--stop-time=60 ^
--sout=#transcode{vcodec=h264,vb=7000,fps=25.000,size=4:3,width=722,height=578,^
vfilter=croppadd{croptop=2,cropbottom=0,cropleft=2,cropright=0,paddright=0},^
acodec=mp4a,ab=128,channels=2,samplerate=44100,deinterlace}^
:standard{access=file,mux=mp4,dst=%%~na.mp4} ^
vlc://quit
Here's another one that works for me

for %%a in (*.mov) do "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -I dummy -vvv %%a --sout=#transcode{vcodec=h264,vb=7000,acodec=mp3,ab=128,channels=4,deinterlace}:standard{access=file,mux=ts,dst=%%a.mp4} vlc://quit

Convert it using ffmpeg on Ubuntu 14.4 and Bourne Shell Scripting

First you need to install ffmpeg onto your ubuntu desktop.
sudo add-apt-repository ppa:jonathonf/ffmpeg-4
and
sudo apt-get update
sudo apt-get install ffmpeg
then use this cool bash script to automagically convert everything using the find command and some cool sed commands.  Sed is used to replace spaces in the directories and filenames.


#! /bin/bash

##
## ALLMOVFILES=`find ./ -name "clip*.mov" -exec /bin/sed -e 's/\ /%20/g' '{}' ';'`
## ALLMOVFILES=`find ./ -name "clip*.mov" -exec echo '{}' | /bin/sed -e 's/\ /%20/g' ';'`
OUTDIR="./H264-Video"
ALLMOVFILES=`find ./ -name "MVI*.MOV" -exec echo '{}' ';' | /bin/sed -e 's/\ /%20/g'`

for INFILE in ${ALLMOVFILES}
do
   echo $INFILE

   FILENAME=`echo ${INFILE} | nawk -F "/" 'BEGIN { FS="/"; } {  print $NF; }'`
   DIRS=`echo ${INFILE} | nawk -F "/" 'BEGIN { FS="/"; } { for (i=1;i<NF;i++) { print $i;} }'`
   echo "Split with awk: " $DIRS
   for dir in $DIRS
   do
      echo "dir:" $dir
   done
   echo "file:" $FILENAME
   ofile=`echo $FILENAME | /bin/sed -e 's/%20/\ /g'`
   ifile=`echo $INFILE | /bin/sed -e 's/%20/\ /g'`
   ofile=`echo $ofile | /bin/sed -e 's/MOV/mp4/g'`

   echo $ifile
   echo $ofile

   ffmpeg -i "${ifile}" -vcodec h264 -acodec aac -strict experimental -ab 128k -b:v 1024k -bufsize 1024k -r 20 "${OUTDIR}/${ofile}"

done

Finally, this script will read the original date and time from the source QT file, and then apply it to the new H264 video file.

#! /bin/bash

##
## ALLMOVFILES=`find ./ -name "clip*.mov" -exec /bin/sed -e 's/\ /%20/g' '{}' ';'`
## ALLMOVFILES=`find ./ -name "clip*.mov" -exec echo '{}' | /bin/sed -e 's/\ /%20/g' ';'`
OUTDIR="./H264-Video"
ALLMOVFILES=`find ./ -name "MVI*.MOV" -exec echo '{}' ';' | /bin/sed -e 's/\ /%20/g'`

for INFILE in ${ALLMOVFILES}
do
   echo $INFILE

   FILENAME=`echo ${INFILE} | nawk -F "/" 'BEGIN { FS="/"; } {  print $NF; }'`
   DIRS=`echo ${INFILE} | nawk -F "/" 'BEGIN { FS="/"; } { for (i=1;i<NF;i++) { print $i;} }'`
   echo "Split with awk: " $DIRS
   for dir in $DIRS
   do
      echo "dir:" $dir
   done
   echo "file:" $FILENAME
   ofile=`echo $FILENAME | /bin/sed -e 's/%20/\ /g'`
   ifile=`echo $INFILE | /bin/sed -e 's/%20/\ /g'`
   ofile=`echo $ofile | /bin/sed -e 's/MOV/mp4/g'`

   echo $ifile
   echo $ofile

   ## ffmpeg -i "${ifile}" -vcodec h264 -acodec aac -strict experimental -ab 128k -b:v 1024k -bufsize 1024k -r 24 "${OUTDIR}/${ofile}"

   let ix=1;
   timestamp=""
   timevals=`stat --format "%y" "${ifile}" | sed 's/[-:.]/ /g'`
   for tt in $timevals
   do
      if [ $ix -le 5 ]; then
         timestamp=${timestamp}${tt}
      fi
      if [ $ix -eq 6 ]; then
         timestamp=${timestamp}.${tt}
      fi
      let ix="ix+1"
   done
   echo $timestamp

  echo "${OUTDIR}/${ofile}"
  touch -a -m -t ${timestamp} "${OUTDIR}/${ofile}"


done

Once you apply these timestamps, you can upload them to Apple iCloud.

read more.


Friday, August 9, 2019

Domain Controller Roles Check and Transfer

How to Check Domain Controller Roles and Change them in a Dual DC Setup


Using NetDom

using the netdom command in a command prompt or dos prompt window

C:\Users\Administrator.HOMESLICE>netdom query fsmo
Schema master               ADS-01.homeslice.local
Domain naming master        ADS-01.homeslice.local
PDC                         DC1.homeslice.local
RID pool manager            DC1.homeslice.local
Infrastructure master       DC1.homeslice.local
The command completed successfully.


Using ntdsutil

Using ntdsutil to transfer the schema master and naming master. For the homeslice domain, we will transfer the roles from ADS-01 to DC1 using ntdsutil. The complete history is shown below.

C:\Users\Administrator.HOMESLICE>ntdsutil
ntdsutil: roles
fsmo maintenance: connections
server connections: connect to server dc1
Binding to dc1 ...
Connected to dc1 using credentials of locally logged on user.
server connections: q
fsmo maintenance: transfer schema master
Server "dc1" knows about 5 roles
Schema - CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=homeslice,DC=local
Naming Master - CN=NTDS Settings,CN=ADS-01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=homeslice,DC=local
PDC - CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=homeslice,DC=local
RID - CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=homeslice,DC=local
Infrastructure - CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=homeslice,DC=local
fsmo maintenance: transfer naming master
Server "dc1" knows about 5 roles
Schema - CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=homeslice,DC=local
Naming Master - CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=homeslice,DC=local
PDC - CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=homeslice,DC=local
RID - CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=homeslice,DC=local
Infrastructure - CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=homeslice,DC=local
fsmo maintenance: q
ntdsutil: q

C:\Users\Administrator.HOMESLICE>netdom query fsmo
Schema master               DC1.homeslice.local
Domain naming master        DC1.homeslice.local
PDC                         DC1.homeslice.local
RID pool manager            DC1.homeslice.local
Infrastructure master       DC1.homeslice.local
The command completed successfully.

References:
https://www.petri.com/transferring_fsmo_roles


Sunday, August 4, 2019

Outlook 2013 Signature Pane and Stationary Pane Not Working [SOLVED, no kidding!]

Fixing the Dreaded Outlook 2013 Signature Pane and Stationary Pane Error

On Windows 7, 64bit with Office 2013, 64 bit, you also get event 27 in your Application event log "Outlook Error" with no real details, and the Outlook signature pane does not work anymore, plus stationary and fonts will not open up anymore. It is caused by a missing registry key called LocalServer32 and its associated REG_SZ keys.  Once you add the missing registry keys, you have to reboot your computer to see it working again.  Don't apply this fix to Office 2016 or Office 365! Furthermore, only apply this fix to 64 bit Office 2013.

For 32-bit installation:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0006F03A-0000-0000-C000-000000000046}\LocalServer32
For 64-bit installation
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{0006F03A-0000-0000-C000-000000000046}\LocalServer32

Edit the registry and add the LocalServer32 and Default keys containing the path to Outlook.exe.. you may just need to add the localserver32, here's the whole thing that you can import. (64bit)

Signatures, Stationary and Fonts

How to Fix (Windows 7 64 bit with Office 2013 64 bit)

Edit the registry and add this bit of registry magic.  You can also copy this bit of registry and save it to a file called import.reg, and then you can import the whole thing into regedit.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{0006F03A-0000-0000-C000-000000000046}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{0006F03A-0000-0000-C000-000000000046}\InprocServer32]
"Assembly"="Microsoft.Office.Interop.Outlook, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"
"Class"="Microsoft.Office.Interop.Outlook.ApplicationClass"
"RuntimeVersion"="v2.0.50727"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{0006F03A-0000-0000-C000-000000000046}\InprocServer32\15.0.0.0]
"Assembly"="Microsoft.Office.Interop.Outlook, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"
"Class"="Microsoft.Office.Interop.Outlook.ApplicationClass"
"RuntimeVersion"="v2.0.50727"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{0006F03A-0000-0000-C000-000000000046}\LocalServer32]
"LocalServer32"="C:\\Program Files\\Microsoft Office\\Office15\\outlook.exe"
@="C:\\Program Files\\Microsoft Office\\Office15\\outlook.exe"
looks like this
Registry Editor
Source:   https://www.thewindowsclub.com/unable-to-add-signature-in-outlook

Friday, August 2, 2019

Scam the Scammer Back

How to Have Fun with Phone Scammers

Fake Social Security Number 

Generate a new social security number for the scammers give it a year of birth and an originating state, and get a random US tax id.  https://www.ssn-verify.com/generate
https://www.ssn-verify.com/generate
Dmc701 tim brown tb1602 arrest warrent number: 47mls215

Fake Credit Card Numbers

When the credit card scammers call you and ask for your Visa/MasterCard or AMEX card number, give them something that they can use.  Graham King has a list of valid numbers here https://www.darkcoding.net/credit-card-numbers/  you just need to make up a CVV and expiration date.

Fake Name Generator

Generate fake names and credit card numbers https://www.fakenamegenerator.com/credit-card-validator.php Generate culturaly correct fake personas here https://www.fakenamegenerator.com/gen-male-us-gr.php   or  https://www.fakenamegenerator.com/gen-female-us-as.php   Call you scammers back and have fun with them.