RecoverJPEG (Linux)

recoverjpeg will recover jpeg files

su
fdisk -l
ID your disk
make a new folder with any name and “cd” to it

Command:

recoverjpeg /dev/sdf

done, the jpeg files will be recovered to your working directory.

Advertisements

Get Free Space available from disk

Command line :

fsutil volume diskfree c: > my_free_space.txt

Call criteria from Text Box

[forms]![main_form]![field_name]

(change main_form to your form, change field_name to your box or field name)

 

Close Query VB

DoCmd.Close AcQuery, “QueryName”

 

Reset Windows 10 password(Not tested yet, will get rid of this msg)

Assuming you can boot from a live-cd or usb… like Kali.

1. Back up sethc.exe (c:\windows\system32)

2. Copy cmd.exe to seth.exe

3. Boot into Windows

4. In login screen, press shift key 5 times to get “Administrator mode command prompt”

5. Type the following: (edit the obvious)
net user username123 password123
NOT TESTED YET.

Xerox 700 or 240 – Enter Diagnostics mode

  1. Hold 0 for five seconds, then press the “Start” button, (do not release 0 when pressing Start)
  2. Enter password 6789
  3. Press the Log in/out button. (This might not be necessary, you can go straight to the options if you go to TOOLS now).

REMOVE ALL MAPPED DRIVES AND ADD A NEW ON

net use * /delete /y
ping 127.0.0.1
net use P: \\NEW_IP\pictures123 /P:yes
ping 127.0.0.1 -n 10

VBA Syntax – get records in between dates with times

VBA syntax – Get records from:
4:30 PM (yesterday) and 8:00 AM (today)

put this in the Query:

Between Date()-1+#4:30:00 PM# And Date()+#8:00:00 AM#

Launch windows update in windows 10

Windows Key + R
then
ms-settings:windowsupdate-action

It will start the windows updates.

BATCH FILE TO DISPLAY PDF

echo off
Taskkill /IM iexplore.exe /F  *WILL KILL ALL IEXPLORE.EXE’S WITH /IM , /F IS TO FORCE IT.
ping localhost
copy \\192.168.1.20\folder1\sample.pdf “C:\Users\%username%\Desktop”
ping localhost
start iexplore -k C:\Users\%username%\Desktop\sample.pdf    *-k is to open the PDF in full screen.
exit