November 1

Microsoft Dynamics GP Stuck batches issue

Problem: stuck batches and the message “The batch is currently in use – Please wait until the other user is finished”.

image

Solution: open the Payroll Batch Setup window

 

 

select your batch (click the search icon and find the batch) and click the Reset Button.

This resets the batch’s status from In Process to Available, freeing it up for the user to proceed with it.

image

 

November 12

How to Fix GPO Sysvol Permissions Error

Problems:

In a multi domain controllers Forest, some of the domain controllers have the following error

The SYSVOL permissions of one or more GPO’s on this domain controller are not in sync with the permissions for the GPO’s on the Baseline domain controller.

 

The Cause:

Domain controllers create two Domain Admin accounts with permissions on the GPOs. You can not see them  in the GUI but running icacls {GPO UID}, you can see two Domain Admin accounts.

In GUI, you only see one Domain Admins account

Run CMD in elevated mode,  you can see there are two main admins account

icacls “{GPO UID}”

The Solutions

First, remove both domain admin account

icacls “{GPO UID}” /remove:g “<localdomain>\Domain Admins”

Second,  add a single Domain Admin account back to the GPO

icacls “{GPO UID}” /grant “<localdomain>\Domain Admins”:(OI)(CI)(F)

Third, do the same on the other affected Domain controllers.

Finally, wait or manually forced replication again with these two commands

repadmin /syncall

repadmin /syncall /AdePq

 

October 6

Youtube-dl Quick Commands

Download High quality mp3 audio, and use video title as file name

youtube-dl -o '%(title)s.%(ext)s' --extract-audio --audio-format mp3 --audio-quality 0 url

 

Download High quality mp3 audios that have min view 2000, and use video title as file name, 

youtube-dl -o '%(title)s.%(ext)s' --min-view 20000 --extract-audio --audio-format mp3 --audio-quality 0 url

 

Do not download any videos with less than count views, and use video title as file name

youtube-dl  -o '%(title)s'  --min-views 1000  url

 

Download best quality video play list and use video title as file name

youtube-dl -o "%(title)s.%(ext)s" -cwi --format best --yes-playlist "url"

-cwi is a shorter alternative to –continue –no-overwrites –ignore-errors

 

Download the best video 

youtube-dl -f best url

List Available Formats

youtube-dl -F "url"

For more information:

https://github.com/rg3/youtube-dl/blob/master/README.md#readme

 

May 7

Unlock Hard Drive ATA Password

This method works only if the BIOS generates a error code after entering a wrong HDD password 3 times.

1 download hreset.exe

2 create a boot-able USB disk using Rufus and place hreset.exe in the drive.

3 boot the computer and get into DOS mode and enter the following command   ( hrreset   the error code  0; option 2)

4 use the generated code to unlock the hard drive in BIOS (for example, in this case, 4DWTL8L)