REDUCE POLLUTION AT EARTH DUE TO WASTAGE OF
BATTERY
CREATE FOLLOWING (TWO) FILES AT YOUR LAPTOP:
01.) %USERPROFILE%\CheckLaptopBattery.cmd OR
%USERPROFILE%\CheckLaptopBattery.bat OR
%USERPROFILE%\CheckLaptopBattery.Bat OR
%USERPROFILE%\CheckLaptopBattery.bAt OR
%USERPROFILE%\CheckLaptopBattery.baT OR
%USERPROFILE%\CheckLaptopBattery.BaT OR
%USERPROFILE%\CheckLaptopBattery.CmD
02.) %USERPROFILE%\CheckLaptopBattery.vbs
CREATE A SHORTCUT OF %USERPROFILE%\CheckLaptopBattery.vbs FILE AT
FOLLOWING DIRECTORY:
%USERPROFILE%\AppData\Roaming\MICROS~1\Windows\STARTM~1\Programs\Startup
@ECHO OFF REM CONTENT OF %USERPROFILE%\CheckLaptopBattery.cmd
REM UNUSED SYSTEM POWER BATTERY USED TO INCREASE POLLUTION.
IF NOT EXIST %USERPROFILE%\RemovePlug.txt ECHO ALERT MESSAGE: REMOVE
POWER CABLE AT LAPTOP NOW > %USERPROFILE%\RemovePlug.txt
IF NOT EXIST %USERPROFILE%\AddPlug.txt ECHO ALERT MESSAGE: ADD POWER
CABLE AT LAPTOP NOW > %USERPROFILE%\AddPlug.txt
SETLOCAL ENABLEDELAYEDEXPANSION
:START REM REMOVE USELESS *.DMP coredump FILES AT
REM %USERPROFILE%\AppData\Local\CrashDumps folder
REM TO MAKE %USERPROFILE%\Favorites\Links to be available always at taskbar
REM CD /D %USERPROFILE%\AppData\Local\CrashDumps
REM DEL /Q *.DMP >NUL 2>NUL
REM USE C:\Windows\System32\findstr.exe findstr.exe
REM USE C:\Windows\System32\wbem\WMIC.exe WMIC.exe
FOR /F "skip=1 tokens=1" %%A in ('WMIC.exe Path Win32_Battery Get BatteryStatus
^| findstr.exe /r /v "^$"') DO SET BatteryStatus=%%A
FOR /f "tokens=2 delims==" %%E in ('WMIC.exe path Win32_Battery get EstimatedChargeRemaining
/value') do (SET "BA=%%E")
IF %BA% GEQ 98 GOTO MOREPOWER
IF %BA% LEQ 35 GOTO LESSPOWER
TIMEOUT 120 >NUL 2>NUL
GOTO START
:MOREPOWER
IF %BatteryStatus% EQU 2 (
START /B C:\Windows\System32\notepad.exe
%USERPROFILE%\RemovePlug.txt
) ELSE (
C:\Windows\System32\taskkill.exe
/f /im notepad.exe >NUL 2>NUL
)
TIMEOUT 10 >NUL 2>NUL
GOTO START
:LESSPOWER
REM ECHO %BatteryStatus% BatteryStatus
REM Examples (core dump) files I have seen:
REM Notepad.exe.10188.dmp
REM Notepad.exe.11624.dmp
REM Notepad.exe.9492.dmp
IF %BatteryStatus% EQU 1 (
START /B START /B C:\Windows\System32\notepad.exe
%USERPROFILE%\AddPlug.txt
) ELSE (
C:\Windows\System32\taskkill.exe
/f /im notepad.exe >NUL 2>NUL
)
TIMEOUT 10 >NUL 2>NUL
GOTO START
CONTENT OF
FILE %USERPROFILE%\CheckLaptopBattery.vbs Dim WinScriptHost
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\Users\
murugesan_openssl\CheckLaptopBattery.cmd" & Chr(34),
0
Set WinScriptHost = Nothing
After Windows r
rundll32.exe shell32.dll,Control_RunDLL intl.cpl
OR
rundll32.exe C:\WINDOWS\System32\shell32.dll,Control_RunDLL C:\WINDOWS\System32\intl.cpl
Click addition settings
Time format: hh:mm tt
Date format: ddd dd-MMM-yyyy
First Way:
Execute following commands inside C:\Windows\System32\cmd.exe
Second way:
Windows r
C:\WINDOWS\system32\rundll32.exe shell32.dll,Control_RunDLL intl.cpl
Alt d
Ctrl tab tab
Short time: hh:mm tt
Long time: hh:mm tt
Ctrl tab
Short date: ddd dd-MMM-yyyy
Long date: ddd dd-MMM-yyyy
Alt A
Esc Esc
If C:\Windows\System32\query.exe available user following command:
C:\>
C:\Windows\System32\query.exe user
USERNAME SESSIONNAME ID STATE IDLE TIME
LOGON TIME
>murugesan_openssl
console 38 Active 1+05:35 Tue 20-May-2003
06:00:AM
C:\>
b) batch file and mingw/cygwin commands
=> power.cmd => windows r => power
@ECHO OFF REM CONTENTS OF power.cmd CLS ECHO %CD%^> power :LOOP_POWER_BATCH REM BATCH FILE TO DISPLAY CURRENT BATTERY INFORMATION AT LAPTOP REM SET THE TITLE OF C:\Windows\System32\cmd.exe TO LATEST BATTERY PERCENTAGE ONCE C:\Windows\System32\wbem\WMIC.exe Path Win32_Battery Get BatteryStatus | C:\Windows\System32\find.exe "2" > NUL IF %ERRORLEVEL% NEQ 0 ( ECHO POWER BATTERY PLUGGED OUT ) ELSE ( ECHO POWER BATTERY PLUGGED IN ) FOR /f "TOKENS=2 DELIMS==" %%E in ('C:\Windows\System32\wbem\WMIC.exe PATH WIN32_BATTERY GET ESTIMATEDCHARGEREMAINING /VALUE') do (SET "Ba=%%E") ECHO TITLE=POWER %Ba%%% TITLE=POWER %Ba%%% FOR /F "tokens=* USEBACKQ" %%F IN (`C:\Windows\System32\wbem\WMIC.exe PATH WIN32_BATTERY GET ESTIMATEDCHARGEREMAINING ^| C:\Windows\System32\findstr.exe /R "[0-9]"`) DO ( SET POWER_PERCENTAGE=%%F ) REM REMOVE ALL SPACES AT %POWER_PERCENTAGE% VARIABLE USING : = inside %POWER_PERCENTAGE: =% REM DOUBLE PERECNTAGE %% USED TO DISPLAY PERCENTAGE CHARACTER REM ECHO POWER PERCENTAGE %POWER_PERCENTAGE: =%%% REM ECHO TO TERMINATE THIS BATCH FILE REM ECHO PRESS CTRL C REM ECHO TYPE Y REM ECHO PRESS ENTER REM TIMEOUT 10 REM GOTO LOOP_POWER_BATCH
#!/bin/mksh #Contents of power shell script file. if [ 0 -eq $# ] then echo -ne "\033[H\033[J\033[[email protected] \033[32m$PWD \033[0m[ $? ]\n$ power\n" else echo -ne "\033[H\033[J\033[[[email protected] \033[32m$PWD \033[0m[ $? ]\n$ power $@\n" fi /cygdrive/c/Windows/System32/wbem/WMIC.exe Path Win32_Battery Get BatteryStatus 2>&1 |\ /usr/bin/tr -d "\r" 2>>1 |\ /usr/bin/grep "2" >/dev/null 2>&1 Ret=$? if [ 0 -eq $Ret ] then echo "POWER BATTERY PLUGGED IN" else echo "POWER BATTERY PLUGGED OUT" fi /cygdrive/c/Windows/System32/cmd.exe /c "C:\Windows\System32\wbem\WMIC.exe PATH WIN32_BATTERY GET ESTIMATEDCHARGEREMAINING /VALUE" 2>&1 |\ /usr/bin/tr -d "\r" 2>>1 | /usr/bin/grep -v "^$" | /usr/bin/sed "s/.*=//;" |\ /usr/bin/awk '{ printf( "POWER PERCENTAGE %s%\n", $0); }'
Open C:\Windows\regedit.exe
Go to following location inside regedit
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor
Right click at right pane and create New String Value
Variable name: Autorun
Value Data: C:\Users\murugesan_openssl
\YourFileName.cmd
Instead of using murugesan_openssl
use your Windows operating system logon user name
Instead of using YourFileName.cmd provide some valid name to that
.cmd file.
Contents of C:\Users\murugesan_openssl
\YourFileName.cmd
C:\Windows\System32\icacls.exe
"%userprofile%\Favorites\Links" /Setintegritylevel (OI)(CI)Medium >NUL
2>NUL
SET TITLE=%USERDNSDOMAIN:~0,8%\%USERNAME%
CD /D %USERPROFILE%
01. PRess Windows i
OR
Press Start menu => Click Settings. 02. Click System => Clipboard 03. At Suggested actions => Enable/Disable that
suggested actions to handle action at create/remove events at putty.exe
@ECHO OFF GOTO START_MENU_EXCEPTION_01 :START_MENU_EXCEPTION_01 SET AMAZON_URL_FILE=C:\PROGRA~3\MICROS~1\Windows\STARTM~1\Programs\Amazon.url IF NOT EXIST %AMAZON_URL_FILE% ECHO Amazon.url EXCEPTION NOT FOUND AT WINDOWS START MENU IF NOT EXIST %AMAZON_URL_FILE% GOTO START_MENU_EXCEPTION_02 IF EXIST %AMAZON_URL_FILE% ECHO GOING TO DELETE ADVERTISEMENT FILE USING INTERACTIVE MODE DEL /P %AMAZON_URL_FILE% IF EXIST %AMAZON_URL_FILE% DEL /P %AMAZON_URL_FILE% GOTO START_MENU_EXCEPTION_02 :START_MENU_EXCEPTION_02 SET AGODA_URL_FILE=C:\PROGRA~3\MICROS~1\Windows\STARTM~1\Programs\Agoda.url IF NOT EXIST %AGODA_URL_FILE% ECHO Agoda.url EXCEPTION NOT FOUND AT WINDOWS START MENU IF NOT EXIST %AGODA_URL_FILE% GOTO START_MENU_EXCEPTION_03 IF EXIST %AGODA_URL_FILE% ECHO GOING TO DELETE ADVERTISEMENT FILE USING INTERACTIVE MODE DEL /P %AGODA_URL_FILE% IF EXIST %AGODA_URL_FILE% DEL /P %AGODA_URL_FILE% GOTO START_MENU_EXCEPTION_03 :START_MENU_EXCEPTION_03 SET PLANET_URL_FILE=C:\PROGRA~3\MICROS~1\Windows\STARTM~1\Programs\PLANET~1.URL IF NOT EXIST %PLANET_URL_FILE% ECHO PLANET~1.URL EXCEPTION NOT FOUND AT WINDOWS START MENU IF NOT EXIST %PLANET_URL_FILE% GOTO END IF EXIST %PLANET_URL_FILE% ECHO GOING TO DELETE ADVERTISEMENT FILE USING INTERACTIVE MODE DEL /P %PLANET_URL_FILE% IF EXIST %PLANET_URL_FILE% DEL /P %PLANET_URL_FILE% GOTO END :END
Open C:\Windows\regedit.exe
Navigate to following Key inside regedit
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
OR
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Start_ShowClassicMode DWORD(32 bit) Value
This DWORD need to have following value:
1
Re-start the system
One more way to verify the same using C:\Windows\System32\cmd.exe:
C:\Windows\system32\reg.exe query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
| C:\Windows\System32\find.exe "Start_ShowClassicMode"
OUTPUT:
Start_ShowClassicMode REG_DWORD 0x1
Press Windows I => Click
Personalization => Click Start => Disable following options:
a. Show recently added apps
b. Show most used apps
c. Show recently opened items in start, Jump Lists, and File Explorer
d. Show recommendations for tips, shortcuts, new apps, and more
@ECHO OFF
START /B C:\PROGRA~1\WindowsApps\Microsoft.ScreenSketch_11.2209.2.0_x64__8wekyb3d8bbwe\ScreenSketch.exe
REM PROVIDED THAT YOU ARE HAVING
REM C:\PROGRA~1\WindowsApps\Microsoft.ScreenSketch_11.2209.2.0_x64__8wekyb3d8bbwe\ScreenSketch.exe
REM you can search that using following commands inside C:\Windows\System32\cmd.exe
REM C:> CD /D C:\PROGRA~1\WindowsApps\
REM C:> DIR/S /B ScreenSketch.exe
Save this file as snippingtool.cmd
Add that directory at PATH environment variable.
After this we can use snippingtool using following command at:
Windows r
snippingtool
Restart and relogin.
powershell source code taken from:
https://answers.microsoft.com/en-us/windows/forum/all/removing-a-language-option-from-keyboard/cefbc8eb-c1f8-448d-a7a0-652d2304918e
ON Sun 11-Feb-2024 IST
If above step not working:
Connect your system to internet.
Press Start menu
Click Settings
At left pane, click Time & language
At right pane click Language & region
At right pane under Preferred languages
Click Add a language
Search the language that you have installed earlier:
I have installed:
English (India)
Hence I searched:
English (India)
Click Next
Click Install
At right pane drill down ... after English (India)
Click remove
Press Yes
Execute above powershell script again using administrator.
Restart and login again.
01.b
Steps to disable ENG from taskbar at Windows operating system.
Execute following batch file using cmd.exe (administrator):
01.c Initially disable ENG from taskbar
Steps to disable ENG taskbar:
Start menu => Advanced keyboard settings => Enable the option
for => Use the desktop language bar when it's available.
If this is not helping after restarting windows OS
Start menu => Settings => Time & Language => Language
& region => Preferred languages => This need to have only one language
to disable ENG at taskbar.
02. Right click at task bar => Click Properties => Disable/Enable
Show search option
03. KEEP START MENU AT LEFT SIDE.
Click Start menu => Search => Settings
Click Settings
Click Personalization => Taskbar
At Task bar items => Click Hide for Search option (I always used
to hide search option)
Click Taskbar behaviours
a. Select Left at Taskbar alignment
b. Disable Automatically hide taskbar
b. Select Show seconds in system tray clock(uses more power)
AFTER TAKING BACKUP,
I THOUGHT OF TRAVELLING TO THE SHOP AT BANGALORE WHERE I BOUGHT
MY LAPTOP TO REINSTALL WINDOWS AT MY LAPTOP.
THIS ERROR HAPPENED AFTER MY WINDOWS UPDATE USING BSNL NETWORK.
AFTER THIS I HAVE RECEIVED FOLLOWING RESPONSE:
HP SERVICE
REINSTALL WINDOWS
DELL SERVICE
ALL LAPTOP SERVICE
DO NOT REINSTALL WINDOWS
PRESS START MENU
OPEN SETTINGS
CLICK NETWORK & INTERNET
CLICK PROXY AT RIGHT PANE
CLICK EDIT/SET UP AVAILABLE UNDER MANUAL PROXY SETUP => AT
RIGHT PANE BEFORE PERFORMING FOLLOWING ACTION TAKE
A SNAPSHOT OF CURRENT SETTINGS AT PROXY SERVER ON ANY OPERATING SYSTEM
ENABLE/DISABLE PROXY SERVER
AFTER DISABLING PROXY SERVER MY NETWORK STARTED WORKING.
AUTOMATED UPDATION ERROR
FROM notepad++.EXE ONCE WHEN CONNECTED TO NETWORK
Open notepad++.exe
Click Settings => Preferences => SHORT CUT Alt t p m m m
Disable the option to "Enable notepad++ auto-updater"
Open cmd.exe (Administrator) and execute following commands inside
that command prompt.
CD /D C:\PROGRA~2\notepad++
IF EXIST uninstall.exe MOVE uninstall.exe uninstall.ORIGINAL.exe
CD /D .\updater
IF EXIST GUP.exe MOVE GUP.exe GUP.ORIGINAL.exe
Open following URL
https://www.tp-link.com/no/support/download/archer-t600u-nano
Download
I have downloaded above zip file on Mon 11-Sep-2023 IST
Above XP related zip file(Setup.exe) was successfully installed
at Windows 11 Home Single Language.
Windows r => C:\Windows\System32\control.exe
=> View by Category => Under Hardware and Sound click View devices and
printers
=>At right
pane click Printers & scanners => Click your Default printer. I am
having HP DeskJet 3630 series
=> Scroll down
click More devices and printers settings => Double click HP DeskJet 3640
series => Double click See What's Printing.
Open C:\Windows\System32\cmd.exe
C:> C:\Windows\System32\tasklist.exe > delete_1.txt
C:> REM Close HP DeskJet 3640 series
C:> C:\Windows\System32\tasklist.exe > delete_2.txt
C:> dos2unix.exe delete_2.txt delete_1.txt
C:> sed.exe -i "s/ [0-9]*,[0-9].* K//;" delete_2.txt delete_1.txt
C:> diff.exe delete.txt delete1.txt | grep.exe -E -v "sleep.exe|bash.exe|conhost.exe|tasklist.exe"
169d168
< rundll32.exe 10176 Console
1
185,188c184,187
---
Open HP DeskJet 3640 series
Open procexp.exe
search rundll32.exe
I am having following process:
C:\Windows\System32\rundll32.exe fdprint,InvokeTask /oq "{9009EE99-5ED8-5B4E-9FC6-2ED5D5E2F210}"
Open %USERPROFILE%\Favorites\Links
Create a short cut for the following command:
C:\Windows\System32\rundll32.exe fdprint,InvokeTask /oq "{9009EE99-5ED8-5B4E-9FC6-2ED5D5E2F210}"
Like the same I have created same short cut for scanner:
"C:\PROGRA~1\WindowsApps\Microsoft.WindowsScan_6.3.9654.17133_x64__8wekyb3d8bbwe\scanapp.exe"
-ServerName:App.AppXaxamg5eesqyjpqktbt1zkpbb33rtkxjx.mca
01)
Execute following SQL STATEMENT at Windows:
UPDATE SQLSYSTEMVARIABLES SET VALUE = 0 WHERE PARM = 'CONFIGURATIONMODE';
02)
Restart IIS web server (Administrator privileges)
C:\Windows\SysWOW64\iisreset.exe
01) On Thu 14-Sep-2023 I have opened following url using firefox.exe:
02) Download ep_setup.exe
03) Execute ep_setup.exe using administrator
04) After installation open following directory:
%USERPROFILE%\AppData\Roaming\vlc\crashdump
This directory needs to be empty.
Initially I tried following action:
If any *.DMP files present, delete them always using automation
at windows.
However after windows update on 15-Oct-2023 IST
The problem occured again. Windows git-hub provided following felp(using Administrator
shared desktop which has not resolved that issue):
1) C:\Windows\System32\sfc.exe /scannow
2) C:\Windows\System32\Dism.exe /Online /Cleanup-Image /RestoreHealth
3) %HOME%\Windows_Backup\ep_setup.exe
4) %Downloads%\ep_setup.exe latest binary from https://github.com/valinet/ExplorerPatcher/releases/download/22621.2361.58.4_b52bd79/ep_setup.exe Hence I commented automated deletion of *.dmp files
at %USERPROFILE%\AppData\Local\CrashDumps
After this I found core dump files from:
1) explorer.exe
2) SearchHost.exe 3) HxTsr.exe
and shutdown my system.
After 10 minutes when I login again after startup Links started
working again.
Using these steps I enabled %USERPROFILE%\Favorites\Links at following
operating system:
Windows 11 Home Single Language
After this I have updated automated using the following:
a) rm explorer.exe*.dmp
b) rm SearchHost.exe*.dmp
c) rm HxTsr.exe*.dmp
d) Execute %USERPROFILE%\Downloads\ep_setup.exe using administrator
e) Copy C:\PROGRA~1\EXPLOR~1\ep_setup.exe C:\PROGRA~1\EXPLOR~1\ep_setup_backup_001.exe
f) Execute C:\PROGRA~1\EXPLOR~1\ep_setup.exe
If following error happens:
A dialogue box displaying:
An error has occured
while servicing this product.
This is most likely caused by one or more of the backup files
from a previous update still being in use.
Unlocking the files should fix this issue.
Execute following batch file using Admin privileges.
DisplayFavoritesLink.cmd
@ECHO OFF IF NOT EXIST %USERPROFILE%\Downloads\ep_setup.exe ECHO DOWNLOAD ep_setup.exe from IF NOT EXIST %USERPROFILE%\Downloads\ep_setup.exe ECHO https://github.com/valinet/ExplorerPatcher/releases/download/22621.2361.58.4_b52bd79/ep_setup.exe IF NOT EXIST %USERPROFILE%\Downloads\ep_setup.exe ECHO I HAVE DOWNLOADED FROM USING ABOVE URL ON 16-Oct-2023 IST IF NOT EXIST %USERPROFILE%\Downloads\ep_setup.exe ECHO GOTO EOF_01 IF NOT EXIST %USERPROFILE%\Downloads\ep_setup.exe GOTO EOF C:\Windows\System32\whoami /groups |^ C:\Windows\System32\findstr.exe /B BUILTIN\Administrators |^ C:\Windows\System32\findstr.exe /C:"Enabled group" >NUL && GOTO :EXECUTE_USING_ADMIN_PRIVILEGE ECHO ERRORLEVEL %ERRORLEVEL% ECHO EXECUTE %0 using ADMINISTRATOR PRIVILEGES. ECHO GOTO EOF_02 GOTO EOF :EXECUTE_USING_ADMIN_PRIVILEGE REM IF NOT EXIST C:\PROGRA~1\EXPLOR~1\ep_setup.exe ECHO COPY C:\PROGRA~1\EXPLOR~1\ep_setup_backup_001.exe C:\PROGRA~1\EXPLOR~1\ep_setup.exe IF NOT EXIST C:\PROGRA~1\EXPLOR~1\ep_setup.exe IF EXIST %USERPROFILE%\Downloads\ep_setup.exe ECHO START /B %USERPROFILE%\Downloads\ep_setup.exe IF NOT EXIST C:\PROGRA~1\EXPLOR~1\ep_setup.exe IF EXIST %USERPROFILE%\Downloads\ep_setup.exe START /B %USERPROFILE%\Downloads\ep_setup.exe IF NOT EXIST C:\PROGRA~1\EXPLOR~1\ep_setup.exe ECHO COPY C:\PROGRA~1\EXPLOR~1\ep_setup_backup_001.exe C:\PROGRA~1\EXPLOR~1\ep_setup.exe >NUL 2>NUL IF NOT EXIST C:\PROGRA~1\EXPLOR~1\ep_setup.exe COPY C:\PROGRA~1\EXPLOR~1\ep_setup_backup_001.exe C:\PROGRA~1\EXPLOR~1\ep_setup.exe >NUL 2>NUL c:\WINDOWS\system32\taskkill.exe /f /im explorer.exe >NUL 2>NUL c:\WINDOWS\system32\taskkill.exe /f /im SearchHost.exe >NUL 2>NUL c:\WINDOWS\system32\taskkill.exe /f /im HxTsr.exe >NUL 2>NUL REM IF EXIST C:\PROGRA~1\EXPLOR~1\ep_setup.exe ECHO C:\PROGRA~1\EXPLOR~1\ep_setup.exe IF EXIST ECHO C:\PROGRA~1\EXPLOR~1\ep_setup.exe C:\PROGRA~1\EXPLOR~1\ep_setup.exe IF EXIST C:\PROGRA~1\EXPLOR~1\ep_setup.exe C:\PROGRA~1\EXPLOR~1\ep_setup.exe ECHO GOTO EOF_03 GOTO EOF :EOF
Open following url using
firefox.exe
about:profiles
Click create New Profile
Press Next
Click Choose Folder
I have selected following folder:
%USERPROFILE%\AppData\Roaming\Mozilla\Firefox\Profiles\MozillaProfile
Replace:
Default User
With:
Default_User
Click Next
Close and reopen firefox.exe
Open firefox.exe
Open
about:config
Search:
app.update.auto
Change from boolean
to to false.
Close firefox.exe
Re-open firefox.exe
Close and reopen firefox after creating the following
file:
%USERPROFILE%\AppData\Local\MozillaFirefox\distribution\policies.json
Stop the following service:
MozillaMaintenance
gzip the following executables:
%USERPROFILE%\AppData\Local\MozillaFirefox\crashreporter.exe.gz
%USERPROFILE%\AppData\Local\MozillaFirefox\default-browser-agent.exe.gz
%USERPROFILE%\AppData\Local\MozillaFirefox\firefox.exe.sig.gz
%USERPROFILE%\AppData\Local\MozillaFirefox\maintenanceservice.exe.gz
%USERPROFILE%\AppData\Local\MozillaFirefox\maintenanceservice_installer.exe.gz
%USERPROFILE%\AppData\Local\MozillaFirefox\minidump-analyzer.exe.gz
%USERPROFILE%\AppData\Local\MozillaFirefox\pingsender.exe.gz
%USERPROFILE%\AppData\Local\MozillaFirefox\plugin-container.exe.gz
%USERPROFILE%\AppData\Local\MozillaFirefox\private_browsing.exe.gz
%USERPROFILE%\AppData\Local\MozillaFirefox\uninstall\helper.exe.gz
%USERPROFILE%\AppData\Local\MozillaFirefox\updater.exe.gz
Open WINWORD.EXE
Type first line having 2 letters
Press Enter
Type few hiphen characters ----
Press Enter
A horizontal line used to be inserted.
Keep the cursor above that horizontal line.
Click Home from menu bar
Drill down borders which is available approximately at central bottom
line of menu bar
Click No border.
Registry key for Word: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word
DELETE FOLLOWING DWORD TO DISABLE
AutoSaveByDefaultUserChoice
For Excel or PowerPoint it is:
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\PowerPoint
LOCATION OF THOSE EXECUTABLES:
C:\PROGRA~2\MICROS~2\root\Office16\WINWORD.EXE
C:\PROGRA~2\MICROS~2\root\Office16\POWERPNT.EXE
C:\PROGRA~2\MICROS~2\root\Office16\EXCEL.EXE
We need to create the short
cut or a new batch file at following location:
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\STARTM~1\Programs\Startup
We can use batch file or command file or visual basic files or
any executables.
Before opening C:\Windows\System32\cmd.exe
Create a sample batch file
Content of C:\Users\murugesan_openssl
\murugesanopenssl.cmd
@ECHO OFF
START /B mode 800 >NUL 2>NUL
C:\Windows\System32\icacls.exe "%userprofile%\Favorites\Links"
/Setintegritylevel (OI)(CI)Medium >NUL 2>NUL
SET TITLE=%USERDNSDOMAIN:~0,8%\%USERNAME%
CD /D %USERPROFILE%
Open C:\Windows\regedit.exe
Go to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor
Create a new String Value
Name:Autorun
Value: C:\Users\murugesan_openssl
\murugesanopenssl.cmd
Instead of using murugesan_openssl
use your user name.
We can use fullpath\anyname.cmd OR fullpath\anyname.vbs or fullpath\anyname.bat
files.
We can check the same using following command inside C:\Windows\System32\cmd.exe:
C:\Windows\System32\reg.exe query "HKCU\SOFTWARE\Microsoft\Command
Processor"
Initially I have logged
on to my authorized site using my username and password
After logon, I tried downloading that 4GB zip file using firefox.exe.
Once reaching 2.4GB of size,
Right click on downloaded file and clicked pause.
I have taken the back of following downloaded file:
MOVE WINDOWS.X64_213000_db_home.zip.part WINDOWS.X64_213000_db_home.zip.part.BACKUP01
Next day I logged on to my authorized site
After login I tried downloading the same file again
once the download started, right click on downloaded file(about:downloads
page) Click pause
NOW COPY YESTERDAY'S (DOWNLOADED) FILE TO CURRENT FILE.
COPY WINDOWS.X64_213000_db_home.zip.part.BACKUP01 WINDOWS.X64_213000_db_home.zip.part
AFTER THIS RIGHT CLICK AT firefox.exe click continue
Next day I have downloaded all 4GB File successfully.
Assume that Microsoft outlook 365 having two accounts:
FirstEmail at dnsdomain dot com
SecondEmail at dnsdomain dot com
After this I made following changes:
a. File => Account Settings => Account Settings => Email
=> FirstEmail at dnsdomain dot com => Set as Default
b. File => Account Settings => Account Settings => Data
File => SecondEmail at dnsdomain dot com => Set as Default => Tick
mark enabled for FirstEmail at dnsdomain dot com
When I press Ctrl N to open a new email, it is always selecting SecondEmail
at dnsdomain dot com as sender instead of selecting default email SecondEmail
at dnsdomain dot com
Press:
Alt f t => Select Advanced
OR
Click File => Options => Advanced => Start Microsoft
outlook 365 in this folder: => Click browse => drill down Search folders.
Search folders needs to be Search folders of
RequiredEmail at dnsdomain dot com instead of using other account OtherEmail
at dnsdomain dot com => Select Unread Email => Press OK =>
Press OK
Assume that you are unable to find Unread Email at Search folders
Drill down SecondEmail at dnsdomain dot com => Click Search
Folders => Right click on Search Folders => Click New New Search Folder
=> Select Unread Email => Press Ok
Close Microsoft outlook 365
Open Microsoft outlook 365
CREATE A BATCH FILE (.cmd
or .bat FILE) AT ANY DIRECTORY.
Example:
I created a batch file at C:\murugesan_openssl
.cmd
Open following folder
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Create a short cut here for that batch file C:\
murugesan_openssl.cmd
At outlook open any email or click new email
Assume that following text is available inside the contents of that
email:
murugesan openssl
Press Ctrl f and find murugesan openssl
Search is reporting the following error when searching:
Microsoft Outlook => No results found. => Ok
When
searching disable "No Formatting" button to get expected result on searching
required string at email.
a)How to change desktop
background image to black image?
Press Start menu
Type following word:
background
Click: Choose your desktop background
Select solid color and select black color. b) How to change lock screen/login background image
to black image?
Press Start menu
Type following word:
background
Click: Change your lock screen background
Personalize your lock screen
Click picture and select
black.jpg file(which was created using mspaint)
Get fun facts, trips and
more on your lock screen
Disable this option
Lock screen status
Select Mail or Calender
or Weather
Show the lock screen background
picture on the sign-in screen
b)
We can also perform the same inside any batch file(maximum_putty.cmd)
and windows r maximum_putty.cmd
Include that directory of maximum_putty.cmd inside PATH Environment
variable.
c)
Assume that you are having %USERPROFILE%\Favorites\Links folder
available at taskbar
Right click at putty.exe short cut => Click properties =>
Enable Maximized option available at Run option.
We can achive that using
two ways:
a)
Create a new shell script OR BATCH FILE and call required applications
in sequence using binary & OR START /B /MAX binary
Go to next command if ps -eaf or tasklist.exe confirming previous
background application has been started.
b)
Create a binary file startup.exe or a short cut to the same file
at %USERPROFILE%\AppData\Roaming\MICROS~1\Windows\STARTM~1\Programs\Startup
directory.
I have created startup.exe using sample C program which was compiled
using gcc.exe at windows.
startup.c programming actions:
a. Ignore(SIG_IGN) the following signals:
SIGCHLD, SIGTSTP, SIGTTIN, SIGTTOUT, SIGTERM and SIGHUP
b. Close read/write/error file descriptors(0,1,2)
c. Open file descriptors for read/write/error (0,1,2) if required.
d. Exit after first fork if pid is non zero
e. call setsid (by child process)
f. Reset the errno global variable
g. umask(0) to reset inherited file creation mask
h. call checkbattery.sh if no bash.exe whose pid is 1 at executiion
mode.
i. Call firefox.exe if no firefox.exe at execution mode using
tasklist.
j. call putty.cmd only if checkbattery.sh was started.
k. call notepad++.exe or TextPad.exe based on the requirements.
I have verified background process using following command inside
cmd.exe:
Press Windows r
"C:\WINDOWS\System32\rundll32.exe" C:\WINDOWS\System32\shell32.dll,Control_RunDLL
C:\WINDOWS\System32\intl.cpl
OR
rundll32.exe C:\WINDOWS\System32\shell32.dll,Control_RunDLL
C:\WINDOWS\System32\intl.cpl
Click ok or Press Enter.
Click Additional settings or press Alt
d Click time or press Ctrl tab two times
Replace:
hh:mm:ss tt
With:
hh:mm tt
Click Apply. Press Ok
Press Ok
Restart Windows and relogin.
You can't remove
NULL SID because this object is inheriting permissions from its parent.
To remove NULL SID, you must prevent this object from inhertiing
permissions.
Turn off the position for inheriting permissions, and they
try removing NULL SID again.
http://www.geocities.ws/murugesan/images/cygwin_windows_security.jpg
Open cmd.exe using following users:
a) Administrator
b) Current user
c) The user who installed cygwin
I have provided permission to %USERNAME% at windows
Execute following command at each command prompt:
C:> CD /D %HOME%
C:\cygwin\home\openssl_murugesan> CD ..\..
C:\cygwin > C:\Windows\System32\icacls.exe "%CD%" /grant
%USERNAME%:(F) /T /C /Q
Press Windows r
C:\WINDOWS\System32\rundll32.exe C:\WINDOWS\System32\shell32.dll,Control_RunDLL
C:\WINDOWS\System32\main.cpl
OR
rundll32.exe C:\WINDOWS\System32\shell32.dll,Control_RunDLL
C:\WINDOWS\System32\main.cpl
Click Pointers or press Ctrl tab
I have selected:
Windows Black (extra large) (system scheme) => Normal Select
Press Ok
Download Netscape 6 (6.2.3) => Netscape623.exe http://www.oldversion.com/windows/netscape
I haven't tested other versions of netscape.
After installation we can use following to edit html files at localhost:
netscp.exe -edit
OR
netscp -edit
based on your operating system and include that directory at PATH environment variable.
Steps to disable Microsoft defender Antivirus
a) Windows support team01 tried all the ways at my system using quick assist:
b) Windows support team02(above team01) tried all the ways at my system using quick assist.
team02 asked me to login using administrator to view start menu like Windows 11 format.
c) Windows support team03 informed me to reinstall(by wasting money) Windows 11 at my system. I perfomed following steps to disable Windows Defender issue permanently.
67a)
67b)
67c)
67d)
67e)
MENTIONED AT RIGHT PANE.
I have disabled following services:
A) Microsoft Edge update Service (edgeupdate)
B) Microsoft Edge update Service (edgeupdatem)
C) Windows Event log
D) Fax
E) Microsoft FTP Service
F) GameInput Service
G) Windows Mobile Hotspot Service
H) Phone Service
I) Smard Card
J) Smard Card Enumeration Service
K) Smard Card Removal Policy
L) Remote Desktop Configuration
M) Telephony
N) Remote Desktop Services
O) Visual Studio Standard Collector Service 150
P) Windows Update
Q) GameDVR amd Broadcast Under Service_42216c
R) Incredibuild LicenseService
S) Incredibuild RestService
T) Incredibuild Agent
U) Incredibuild coordinator
V) Quick Access Local Service
W) Quick Access Service
X) Realtek Audio Universal Service
Y) User Experience Improvement Program
Click manage settings => disable all options.
Open %windir%\regedit.exe(Administrator)
Create a REG_DWORD(using administrator) at following location:
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender
a) DisableAntiSpyware
b) DisableRealtimeMonitoring
c) DisableAntiVirus
d) DisableSpecialRunningModes
e) DisableRoutinelyTakingAction
Value: 1
f) ServiceKeepAlive
g) AllowFastServiceStartup
Value: 0
Create a new key(folder) at HKLM\SOFTWARE\Policies\Microsoft\Windows Defender folder:
Real-Time Protection
Go inside Real-Time Protection
Create following new REG_DWORD(32 bit-value)
DisableBehaviorMonitoring
DisableOnAccessProtection
DisableRealtimeMonitoring
DisableScanOnRealtimeEnable
Value: 1
Create a new key(folder) at HKLM\SOFTWARE\Policies\Microsoft\Windows Defender folder:
Signature Updates
Go inside Real-Time Protection
Create following new REG_DWORD(32 bit-value)
ForceUpdateFromMU
Value: 0
Create a new key(folder) at HKLM\SOFTWARE\Policies\Microsoft\Windows Defender folder:
Spynet
Create following new REG_DWORD(32 bit-value)
DisableBlockAtFirstSeen
Value: 1
Execute following command inside administrator cmd.exe
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
Open gpedit.msc
Computer Configuration => Administrative Templates => Windows Components =>
Windows Defender SmartScreen => Enhanced Phishing Protection => Automatic Data Collection => Double click
Click Disabled => Apply OK
Perform the same for all available options inside Windows Defender SmartScreen
regedit need to have following values:
C:> reg query "HKLM\SYSTEM\CurrentControlSet\Services\SecurityHealthService"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SecurityHealthService
DependOnService REG_MULTI_SZ RpcSs
Description REG_SZ @%systemroot%\system32\SecurityHealthAgent.dll,-1001
DisplayName REG_SZ @%systemroot%\system32\SecurityHealthAgent.dll,-1002
ErrorControl REG_DWORD 0x1
FailureActions REG_BINARY 80510100000000000000000003000000140000000100000060EA00000100000060EA00000000000000000000
ImagePath REG_EXPAND_SZ %SystemRoot%\system32\SecurityHealthService.exe
LaunchProtected REG_DWORD 0x2
ObjectName REG_SZ LocalSystem
RequiredPrivileges REG_MULTI_SZ
SeImpersonatePrivilege\0SeBackupPrivilege\0SeRestorePrivilege\0SeDebugPrivilege\
0SeChangeNotifyPrivilege\0SeSecurityPrivilege\0SeAssignPrimaryTokenPrivilege\0SeTcbPrivilege
\0SeSystemEnvironmentPrivilege\0SeShutdownPrivilege
ServiceSidType REG_DWORD 0x1
Start REG_DWORD 0x3
Type REG_DWORD 0x10
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SecurityHealthService\Security
Restart windows
67e)
Open C:\Windows\System32\msconfig.exe
Select Boot
Enable the option for:
Safe boot
Click Ok and restart your system
After restart login and open C:\Windows\regedit.exe
Navigate to following location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend
Rename the key:
WinDefend
With:
WinDefend-openssl_murugesan
OR
WinDefend-murugesan_openssl
OR
WinDefend-AnyName
OR
WinDefend-BLOCKED
Open C:\Windows\System32\msconfig.exe
Disable Safe boot
Reboot
Laptop/Computer not connecting to BSNL mobile network?
Assume that your mobile network name is:
India_BSNL_Sindhubath
a)STEPS TO FOLLOW AT MOBILE
1.
Open mobile
2.
Click Settings
3.
Click More connection settings
4.
Click Mobile hotspot and tathering
4.
Click Mobile hotspot
5.
Click MORE WHICH IS AVAILABLE AT TOP RIGHT CORNER
6.
Click Configure Mobile hotspot
7.
a) Type your preferred name at Network name. Press Next
b) Provide the password that your prefer
c) Under Security => enable WPA2 PSK instead of using Open
d) Press SAVE
8.
Press MORE => Timeout settings => Never timeout
9.
Press MORE => Allowed devices => You can delete existing allowed device/devices(later) if you have added more allowed devices
10.
Press MORE => Allowed devices => Enable Mobile hotspot button
11.
Always check that your mobile having valid power(greater than or equal to 97% battery and less than 100% battery)
B) Steps to follow if a computer/laptop not connecting to India_BSNL_Sindhubath
Press Windows I
At left pane click => Network & internet
At right pane click => Wi-Fi
At right pane Click => Manage known networks
IF this is displaying following networks for you:
India_BSNL_Sindhubath
India_BSNL_Sindhubath1
India_BSNL_Sindhubath2
India_BSNL_Sindhubath3
Click forget button for:
India_BSNL_Sindhubath1
India_BSNL_Sindhubath2
India_BSNL_Sindhubath3
Click arrow key > after forget button for:
India_BSNL_Sindhubath
Scroll down and bottom of right pane used to have:
Advanced Wi-Fi network properties
Click Edit button there
Click Security in the new dialogue box
Mention:
Security type: WPA2-Personal
Encryption type: AES
Network security key: your mobile password
Press Ok button
Shutdown Windows
Start Windows and relogin.
After relogin connect to hidden network.
Type the name you have provided at your mobile.
Type the password you have provided at your mobile.
When it is connecting Opem mobile hotspot(I have mentioned this steps at pervious table) at your mobile and check if any + button available at Connected devices.
If any plus button available click that plus button and provide a new connected device name.
If it is displaying the alert message that you have exceeded allowed device count, you can delete any of existing device name.
This exceeded count error happens when your windows 11 using DHCP and following command displaying new Physical Address always:
C:\Windows\System32\ipconfig.exe /all | C:\Windows\System32\find.exe "Physical Address"
After this BSNL mobile network started working.
Open: https://support.microsoft.com/contactus
Click sign in using your outlook email at Windows.
Click Windows
Click Get Home support
In the text bar having search => type => Windows
Select Troubleshoot activation issues in Windows
Click Windows 11
Click Contact Support button
Drill down menu and select Microsoft 365 and office. => Technical Support => confirm
IF Technical Support drill down not coming select other option instead of selecting Microsoft 365 and office
Click => Chat with a support agent in your web browser