• Home
    • Payments
  • Tools
    • Color Chart
  • Software
    • Windows tricks
      • Windows 11 Speed Up Tricks
      • Windows Command Prompt CMD
    • Android Phone
      • Android – Dangerous Settings to Turn Off
    • Projects
      • Copy Files
      • Php Autoscript
      • Web Tools
  • Notes
    • How to Code
    • System Tips
  • News
    • Comparing SSD to HDD

How to Code

ACCESS 2022 | Browsers | Css | Htacess | Html | Html5 | Javascript | Microsoft Excel | Mysql | Mysql Dumps | Php | Vb.net | VBscript | Windows <=8 | Windows >=10 | WP | WP Plugin | WP Themes | _Misc Software |

ABCDEFGHIJKLMNOPQRSTUVWXYZ
ON
PRT
OFF

<- Look Inside Data
Conditions:
Order:
1|2|3|4|5|6|7|8|
50 Language Operation Title
Keywords
Application
Code Languageid
Show Html
Show Iframe
Make Public
Viewed
Viewed Date
Windows >=10 Customizing How To Stop Apps Running In Background In Windows 11
services background disable
Windows 11 -> 8.1
How to Disable Services:

Open the Services Manager: Type "services.msc" in the Run dialog (Windows Key + R).

Locate the Service: Find the service you want to disable in the list.
Stop the Service (if running): Right-click the service and select "Stop".
Disable the Service: Right-click the service, select "Properties," and change the "Startup type" to "Disabled".
Apply Changes: Click "Apply" and then "OK".
Restart (if needed): Some services may require a restart to fully apply the changes.

Several Windows services can be safely disabled to potentially improve performance or reduce attack surface, especially if they are not used. Some of these services include Windows Update Delivery Optimization, Windows Search, Remote Desktop Services, and SysMain. Other services that are commonly disabled include Windows Insider Service, Parental Controls, Windows Image Acquisition, and the Print Spooler if you don't use a physical printer, according to XDA Developers and IT Pro.



Press Windows key + I to open Settings.

Click on the Apps option on the sidebar.
Older version require going to programs

Click on the Installed Apps option on the right panel.

Ezoic

Find the app and click the Menu (…) icon on the right side of the app name.

Choose “Advanced options.”

Choose “Never” from the “Let this app run in background” dropdown.

Do the same for other background apps and you are done. Remember that if you don’t see the Advanced Options option for an app, it doesn’t support disabling background permission.

disable background apps from settings
Disable Background Apps From Power & Battery Settings
On laptops, Windows 11 keeps track of apps running in the background and drains the battery on the Power & Battery settings page. You can stop these background apps directly from here. Here’s how:

Open the Settings app by pressing the Windows key + I shortcut.

Navigate to the System > Power & Battery page in the Settings.

Click the expand the Battery usage section to see all the background apps.

Click the Menu (…) icon next to the app name and select the Manage background activity option.

Select Never from the Let this app run in background dropdown menu.

Do the same for other apps in the Battery Usage list to disable all the background apps.

Note: If you don’t see the Manage background activity option in the app menu, that specific app doesn’t support managing background activity via the Settings app.

disable background apps from battery settings
Disable Background Apps for All Users Using Group Policy
For those managing multiple users, Windows 11 Pro users can use the Group Policy Editor to disable the background app. Here’s how:

Press Windows key + R to open the Run dialog box.

Enter gpedit.msc in the Run dialog box and click OK to open the Group Policy Editor.

Go to the Computer configuration > Administrative templates > Windows components > App privacy folder.

Double-click the Let Windows apps run in the background policy to open its properties.

Select Enabled and click the Apply & OK buttons.

Close the Group Policy Editor and restart your computer.

Once the computer has been restarted, background apps for all users have been disabled.

disable background apps from group policy
Disable Background Apps for the Current User Using Registry
If you are looking for a simpler way to disable all background apps for your user account at once, you can use the Registry Editor. Before proceeding with the below steps, back up the registry.

Open the Start menu, search for Registry Editor, and click on the top result to open the Registry Editor.

In the Registry Editor, navigate to the following folder.

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows

Right-click on the Windows folder and select New -> Key.

Set the new folder name as AppPrivacy.

Right-click on the AppPrivacy folder and select New -> DWORD Value.

Set the new value name as LetAppsRunInBackground.

Double-click on the value you just created.

Enter 2 in the Value Data field and click OK.

Close the Registry Editor and restart your computer.

With that, the background apps are disabled in Windows 11.


Home » How To » How to Stop Apps Running in Background in Windows 11
How to Disable Background Apps on Windows 11
By Bashkarla / How To

Several apps run in the background on your computer at any given time. These apps, even when not in use, can drain your battery quickly and significantly reduce your system’s performance. Thankfully, you can stop these background apps quite easily. In this article, we’ll show you four methods to disable background apps on Windows 11. Let’s get started.

Disable Background Apps from Installed Apps in Settings
You can disable background apps directly from the Windows 11 settings app. All you have to do is find the app and change its background permissions. Here’s how to do it:


Ezoic
Press Windows key + I to open Settings.

Click on the Apps option on the sidebar.

Click on the Installed Apps option on the right panel.

Ezoic

Find the app and click the Menu (…) icon on the right side of the app name.

Choose “Advanced options.”

Choose “Never” from the “Let this app run in background” dropdown.

Do the same for other background apps and you are done. Remember that if you don’t see the Advanced Options option for an app, it doesn’t support disabling background permission.

disable background apps from settings
Disable Background Apps From Power & Battery Settings
On laptops, Windows 11 keeps track of apps running in the background and drains the battery on the Power & Battery settings page. You can stop these background apps directly from here. Here’s how:

Open the Settings app by pressing the Windows key + I shortcut.

Navigate to the System > Power & Battery page in the Settings.

Click the expand the Battery usage section to see all the background apps.

Click the Menu (…) icon next to the app name and select the Manage background activity option.

Select Never from the Let this app run in background dropdown menu.

Do the same for other apps in the Battery Usage list to disable all the background apps.

Note: If you don’t see the Manage background activity option in the app menu, that specific app doesn’t support managing background activity via the Settings app.

disable background apps from battery settings
Disable Background Apps for All Users Using Group Policy
For those managing multiple users, Windows 11 Pro users can use the Group Policy Editor to disable the background app. Here’s how:

Press Windows key + R to open the Run dialog box.

Enter gpedit.msc in the Run dialog box and click OK to open the Group Policy Editor.

Go to the Computer configuration > Administrative templates > Windows components > App privacy folder.

Double-click the Let Windows apps run in the background policy to open its properties.

Select Enabled and click the Apply & OK buttons.

Close the Group Policy Editor and restart your computer.

Once the computer has been restarted, background apps for all users have been disabled.

disable background apps from group policy
Disable Background Apps for the Current User Using Registry
If you are looking for a simpler way to disable all background apps for your user account at once, you can use the Registry Editor. Before proceeding with the below steps, back up the registry.

Open the Start menu, search for Registry Editor, and click on the top result to open the Registry Editor.

In the Registry Editor, navigate to the following folder.

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows

Right-click on the Windows folder and select New -> Key.

Set the new folder name as AppPrivacy.

Right-click on the AppPrivacy folder and select New -> DWORD Value.

Set the new value name as LetAppsRunInBackground.

Double-click on the value you just created.

Enter 2 in the Value Data field and click OK.

Close the Registry Editor and restart your computer.

With that, the background apps are disabled in Windows 11.

After rebooting, all the background apps are disabled for your user account.

And there you have it! It’s that simple. You can follow any of the four methods to completely stop the apps from running in the background. I also recommend you disable startup apps or delay their startup for improved startup time.


The purpose of this article is to describe how to access Windows Services, which can be used to troubleshoot issues.
Answer:
For Windows 8.1, Windows 10, and Windows Server 2012 R2

1. Right click on the Start button and select Computer Management
2. Expand Services and Applications
3. Select Services

OR

1. Press and hold the Windows button on the keyboard, then press the R key to open the Run dialog
2. Type "Services.msc" and then press Enter

For Windows 8 and Windows Server 2012

1. Hover mouse over bottom left corner of desktop to make the Start button appear, click Start.
2. Right click on the Start button and select Computer Management
3. Expand Services and Applications
4. Select Services

OR

1. Press and hold the Windows button on the keyboard, then press the R key to open the Run dialog
2. Type "Services.msc" and then press Enter
Windows >=10



3
05/05/2026
Windows >=10 Customizing File Sharing
file sharing
File Sharing
Skip to main content
The future is yours
Microsoft Build · May 19?–?22, 2025

Join developers and AI innovators to refactor your skills at Microsoft Build.

Learn
Sign in
Q&A
Windows 11 pro cannot connect to shared folders

Anonymous
Jun 22, 2024, 10:43 PM
I recently pulled an old Win 8.1 computer out of retirement to use as a 'sever.'

I set it up and got it up to date with Windows Updates and other updates.

Then I tried to share folders from this PC to a Windows 11 PC. I also am running a Windows 7 PC for remote desktop and testing..

When I clicked on the PC icon in Network, the shares would not be exposed from win 11 to win 8.1 as the server.

I had some success, but intermittent problems seeing Win 7 shares from Win 11.

I ensured Network Discovery was turned on and I tried toggling password protection for shares on and off.

I searched the Net for days and tonight, I found an article that describes a known and acknowledged problem withe Windows 11, Microsoft Accounts (vs local accounts) and shared folders.

It appears that when I log into a Microsoft Account on my Win 11 machine, I am not able to reliably see shares on other computers. Some shares work fine and others do not work at all. The most common problem was that I would click on a computer to expose its shares and I would be prompted to log into the share--at the computer level.

In my experimentation, I discovered that if I logged into an Admin account, shares worked. I thought it was some sort of security issue, and I wasted much time trying to discover the correct security settings.

The Admin account is and has always been a Local account, and the account I use daily is a Microsoft account. The problems I was having were NOT security issues as much as they were an acknowledged bug related to MS account logins and network shares.

I converted my regular user MS account to a Local account and I was able to see shares across the variety of Win 7, Win 8.1 and Win 11 computers.

I do not use MS services that require a MS account--like Office, On Drive, or the many other services that are available, so converting to a local account is expected to be painless and shares between computers if very important to me.

How to convert MS account computer login to a Local account login:

If you are using MS services, they will require some tweaking to make them work after the conversion!!

(1)Open Settings

(2)Open Accounts --on the left

(3)Under the title "Account Settings," open Your Info

(4)Under Account Settings, open Microsoft Account-->Change to Local Account

(5)Follow instructions to set the Local password.


Copy
When done setting password, you will be forced to sign out and then sign in again.
(6)Try to use you network shares !!

I hope this explanation helps others avoid problems I have experienced.

Microsoft, The article I found describing this fix was dated Sep 2023 and the root cause of the problem is still a problem for people using folder shares from older Windows versions to Windows 11 (10?) when logged into a Microsoft Account.

Make it work !!

Jim

***moved from Windows / Windows 11 / Settings***

Windows Windows Client for IT Pros Networking Network connectivity and file sharing

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

I have the same question
10
{count} votes
Accepted answer

Anonymous
Jun 24, 2024, 11:20 PM
Hi Jim,

Thank you for sharing your detailed experience and solution regarding the issue with shared folders between Windows 11 and older Windows versions.

Summary of the Issue and Solution

You described that when using a Microsoft Account on your Windows 11 PC, you experienced intermittent problems accessing shared folders on other computers, specifically those running Windows 7 and Windows 8.1. The shares were more reliable when using a local admin account rather than a Microsoft Account.

You found that converting your Microsoft Account to a Local Account resolved the issue, allowing you to access shared folders consistently across your network. Below are the steps you followed to make this conversion:

Steps to Convert a Microsoft Account to a Local Account

Open Settings
Navigate to Accounts:
On the left panel, click on *Accounts*.
Open Your Info:
Under the title "Account Settings," select *Your Info*.
Change to Local Account:
Under "Account Settings," click on *Microsoft Account* and then select *Change to Local Account*.
Set the Local Password:
Follow the instructions to set a local password.
After setting the password, you will be prompted to sign out and then sign in again.
Test Network Shares:
After signing back in with the Local Account, try to access your network shares again.
Additional Recommendations

Network Discovery and File Sharing:
Ensure that Network Discovery and File Sharing are enabled on all your devices.
Go to Control Panel > Network and Sharing Center > Change advanced sharing settings to verify these settings.


Password Protected Sharing:
Depending on your security requirements, you might need to enable or disable password protected sharing.
This setting can be found under the same advanced sharing settings menu mentioned above.
Verify SMB Protocols:
Ensure that the SMB protocol versions required by your devices are enabled.
On the Windows 11 PC, go to Control Panel > Programs > Turn Windows features on or off and verify that the necessary SMB versions (SMB 1.0/CIFS File Sharing Support and SMB Direct) are enabled if needed.


Further Assistance

If you continue to experience issues or have any other questions, please feel free to reach out. We appreciate your feedback and will continue to work towards improving the user experience.

Thank you for your patience and cooperation.

Best regards,

Rosy

Forum Support Team

Please sign in to rate this answer.
1 person found this answer helpful.
2 additional answers

Anonymous
Aug 11, 2024, 7:34 AM
I also have this issue, but having followed all of the steps above it is still not solved.

I have a Windows Vista PC and a Windows 8.1 laptop.

I am able to access shared folders between these two using the HomeGroup facility in Windows 8.1

I recently added a Windows 11 pro machine. Following the advice above it has a Local account with password.

In the network section of Explorer I cannot see the Windows 8.1 machine,

I can (apparently) open it as a media library source in wmp, but there is no content found in Music, Videos or Pictures.

The Win11 PC can see the Vista PC, but when I try to open it in explorer it fails.

The Windows Network Diagnostics reports:

Your computer appears to be correctly configured, but the device or resource (XXXX-XX) is not responding

'Detected', yellow warniing triangle

The Vista PC can see the Windows 11 machine, but opening fails. The diagnostic reports:

Network diagnostics pinged the remote host but did not reeceive a response

On the Windows 8.1 laptop I can see both the Vista machine (which I can also access) and the Windows 11 machine, but opening the latter fails. The diagnostic reports:

Windows can't communicate with the device or resource (XXXX-XXXXXXXX)

'Detected', yellow warniing triangle

There is also a mouse-over hint with the message:

It is available but is not responding to the connection attempts. A firewall or network security policy on the remote computer might be blocking the connection on port 'file and print sharing resource'.

In Windows Defender

Domain network = Firewall is On

Private network (active) = Firewall is On

Public network = Firewall is On

In Windows Defender, Domain network

Active domain networks = Not connected

Microsoft Defender Firewall = On

Incoming connections = Unchecked

In Windows Defender, Private network

Active private networks = [wifi connection]

Microsoft Defender Firewall = On

Incoming connections = Unchecked

In Windows Defender, Private network

Active public networks = Not connected

Microsoft Defender Firewall = On

Incoming connections = Unchecked

In Windows Defender, Allowed Applications

There is a long list of entries, those which I thought most relevant are:

On - Core Networking

Off - Core Networking Diagnostics

On - File and Printer Sharing

On - File and Printer Sharing over SMBirect

On - Network Discovery

Off - Secure Socket Tunneling Protocol

Off - SNMP Trap

On - Wi-Fi Direct Netword Discovery

On - Windows Media Player

Off - Windows Media Player Network Sharing Service

On - WLAN Service - WFD Application Services ...

On - WLAN Service - WFD Services ...

On - Workplace or School Account

On - Your Account

Under Firewall & network protection, Advance settings

There are three sections in Overview:

Domain Profile
Private Profile is Active
Public Profile
All three have the following entries:

Windows Defender Firewall is on
Inbound connections that do not match a rule are blocked
Outbound connections that do not match a rule are allowed
Changing the 'Inbound .... blocked' entries to Unblocked appears to disable the Firewall

Under Inbound Rules and Outbound Rules there are many, many entries

There are no entries under Connection Security Rules

Temporarily disabling the Microsoft Defender Firewall does not make any difference.

There is an Apple computer on the network. The Win11 PC can log into this Apple PC using a guest username and password

There is a smart TV on the network with an external HD connected. The Win11 PC can open and edit a text file that I put on this drive.

I would be happy to provide any more data.

Regards

Please sign in to rate this answer.

Anonymous
Aug 15, 2024, 4:49 AM
ps

I also posted my reply on this forum: https://answers.microsoft.com/en-us/windows/forum/windows_11-wintop_connect/win11-unable-to-seeconnect-to-shared-folders-on/fe2a32e8-459a-40ca-bfe2-ac979ae62599?messageId=9a6bbedc-9b37-45d1-a072-571604ad821f

And a response there led me to a solution - I installed the Client for NFS on the Win11 machine and it was then able to see and access the Win8.1 PC (everything under C;Users)

The Win81 machine was also able to acccess the Shared folders on the Win11 PC.

No change with the Vista machine but I can live with that.

(Note: the SMB protocols referred to in the answer above are being retired due to a security problem)

Please sign in to rate this answer.
2 people found this answer helpful.
Previous Versions
Blog
Contribute
Privacy
Terms of Use
Code of Conduct
Trademarks
© Microsoft 2025
Windows >=10



2
05/05/2026
Windows >=10 Customizing Remove Keyboard
remove keyboard
Windows 11
To remove a keyboard layout in Windows 10, you need to12:
Press the Windows key on the keyboard and click on Settings.
Click on Time & Language, then click on Language.
Under the "Preferred languages" section, select the current default language and click the Options button.
Under the "Keyboards" section, select the keyboard layout you want to remove and click the Remove button.
Learn more:
Windows >=10



2
05/05/2026
Windows >=10 Customizing Add A Program To Startup In Windows
start up applications
Windows
C:UsersSteveAppDataRoamingMicrosoftWindowsStart MenuProgramsStartup

C:UserssteveAppDataRoamingMicrosoftInternet ExplorerQuick LaunchUser PinnedTaskBar

To add a program to startup in Windows, you can copy and paste the program's shortcut into the Startup folder. You can also use the Startup Apps option in the Windows search bar.
Steps

Open the Start menu and find the app you want to add to startup

Right-click the app and select Open file location
Right-click the app again to create a shortcut
Press the Windows logo key + R
Type shell:startup and press Enter to open the Startup folder
Copy and paste the shortcut from the file location to the Startup folder
Windows >=10



3
05/05/2026
Windows >=10 Customizing Disk Manager
hard drive letters
External Hard Drives
Using Disk Management:

Open Disk Management: Search for "Computer Management" in the Start menu and open it as an administrator.

Locate the drive: Find the external hard drive in the list of volumes.
Change or remove drive letter: Right-click on the volume and select "Change Drive Letter and Paths".
Remove the letter: Choose the "Remove" option to unassign the drive letter. If you want to assign a different letter, select "Change" and choose from the available letters.

This video demonstrates how to use Disk Management to change or remove a drive letter:
59s
Cube Computer Channel
YouTube · Jun 2, 2025
Using Diskpart:

1. Open Diskpart:
.

Search for "cmd" in the Start menu, right-click on "Command Prompt", and select "Run as administrator". Then, type diskpart and press Enter.
2. List volumes:
.
Type list volume and press Enter to see all volumes and their corresponding numbers.
3. Select the volume:
.
Type select volume X (replace X with the volume number of your drive) and press Enter.
4. Remove or assign the letter:
.
To remove the letter, type remove letter=X (replace X with the drive letter) and press Enter. To assign a new letter, type assign letter=Y (replace Y with the desired letter) and press Enter.
5. Exit Diskpart:
.
Type exit and press Enter.
Windows >=10



2
05/05/2026
Windows >=10 Files Finding An Application
locate search apps applications start
This a cool feature. just move your cursor in bottom-left corner and click on "START". When the tiles screen appears use the keyboard. To find the "calculator" start with the letter "C" and windows will give you a list of icons and files. The calculator appears right away. Each character typed will continue to narrow the search.
Windows >=10



993
05/05/2026
Windows >=10 Files Disk Management
computer disk management
Hard Drives
press windows key then type "computer management"
Look for "storage" then "Disk Management"
right click on which disk you want to look at. My case I wanted to "change drive letters and path" to assign a letter to one of my external drives.
Windows >=10



2
05/05/2026
Windows >=10 Files New Tab In File Explorer Using The Command Line
new tab file explorer
File Eplorer
To enable the "Open in new tab" feature in Windows 11 File Explorer using Regedit, follow these steps:

Press Win + R to open the Run dialog, then type regedit and hit Enter.
Navigate to HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced.
Right-click on the right pane and select New > DWORD (32-bit) Value.
Name the new value OpenInNewTab and set its value to 1.
Close Regedit and restart File Explorer for changes to take effect.
Test the new feature by right-clicking a folder and selecting "Open in new tab."


To open a new tab in File Explorer using the command line, follow these steps:

Open Command Prompt or PowerShell.
Type explorer.exe followed by the path you want to open.
To open in a new tab, use the /n switch: explorer.exe /n, "C:YourPath".
If you want to open multiple tabs, repeat the command with different paths.
Ensure you have the latest version of Windows for tab support in File Explorer.
Alternatively, use keyboard shortcuts like Ctrl + T in File Explorer for new tabs.


This option will work if the Open each folder in the same window option is already selected or enabled in the Folder Options. Here are the steps:

Type regedit in the Search box and hit the Enter key. The Registry Editor window will open
Select the Explorer Registry key. Here is the path:
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorer
Double-click on the OpenFolderInNewTab DWORD (32-bit) Value. If for some reason, this value is not present, then create a new DWORD (32-bit) Value and rename it
In the Edit DWORD (32-bit) Value box, add 1 in the text field
Press the OK button.
To turn off this setting, add 0 in the Value data field of OpenFolderInNewTab value, and press OK.

Hope this helps.

Also read: How to disable tabs in File Explorer on Windows PC

How do I open the same folder in a new tab in Windows 11?
Open a folder in a File Explorer window. Right-click on the tab title and select the Duplicate tab option. This will open the same folder in a new tab in the same File Explorer window. In addition, you can also right-click on a folder in a File Explorer window and use the Open in new tab option to open that folder in a separate tab within the same window. You can repeat this to open the same folder multiple times in new tabs of a File Explorer window.

How do I change the default folder to open in File Explorer in Windows 11?
By default, File Explorer opens to the Home menu on a Windows PC. But you can make File Explorer open to OneDrive or to This PC on Windows 11/10. For this, open the Folder Options, and access the General tab. Open the drop-down menu available for the Open File Explorer to option and select a location to make it default. Press the OK button.
Windows >=10



3
05/05/2026
Windows >=10 Formatting Change Windows Date Format
time date format
Windows 11
Control panel
Date And time
Button Change date and time
Link "Change calendar settings
Select "English United states"
Windows >=10



2
05/05/2026
Windows >=10 Formatting Windows_edb_devicenotify Process?
index shutdown
Windows Shutdown
To change indexing options in Windows 8.1,
search for "Indexing Options" in the Start screen or Control Panel, click the "Modify" button to add or remove indexed folders, and click "Advanced" to access options for rebuilding the index or changing file types and indexing settings. You can also select specific file types, choose to index file contents or only properties, and manage the index location.
Accessing Indexing Options

Using the Start Screen: Type index into the search box on the Start screen and click on Indexing Options.
Using the Control Panel: Open the Control Panel, set the "View by" option to "Large icons" if necessary, and then click Indexing Options.

This video shows how to open Indexing Options from the Start screen:
FaviconYouTube • Joli Ballew



Modifying Indexed Locations

In the Indexing Options window, click the Modify button.
A new window will appear showing the folders currently being indexed.
Check or uncheck the boxes next to the folders or drives you want to include or exclude from the index.
Click OK, then Close, to apply the changes and allow the system to update the index.

Changing Advanced Indexing Settings

From the Indexing Options window, click the Advanced button.
A new "Advanced Options" window will open.
File Types: Select the File Types tab to choose whether to index just the file properties or both properties and content for specific file types.
Index Settings: On the Index Settings tab, you can:
Rebuild: Click the Rebuild button to delete the current index and create a new one from scratch, which can be helpful if search isn't working correctly.
Index Location: Click Select new to change the location where the index file is stored.
Diacritics: Choose whether to treat words with diacritics (like accents) as different or identical for better language support.
Click OK to confirm and apply your changes.

This video demonstrates how to access advanced options and rebuild the index
:
FaviconYouTube • Windows Ninja




What is the windows_edb_devicenotify process?

Hi,

Recently I've had to log out and restart my machine every day or so because it becomes so sluggish. Every time I do, I find this process takes a long time to stop:

windows_edb_devicenotify

I suspect it could be related to my slowdown problem but I have no idea what it is or what it does.

Does anyone know?

Thanks,

L
This thread is locked. You can vote as helpful, but you cannot reply or subscribe to this thread.
Answer Answer
DaveM121
DaveM121

Independent Advisor

Hi L,

I am Dave, I will help you with this.

windows_edb_devicenotify is related to the Windows 10 Indexing utility.

That may be in a loop, it can be a bit buggy sometimes, the best option is to delete the index and then let Windows recreate it.

Click your Stat Button, then just type index and from the resulting list, open Indexing Options

On the resulting utility, click the Advanced Button, and on the next dialog, click the 'Rebuild' button and click the 'Okay' button.

Also, back on the first Index dialog, click Modify, there you can choose what folders are indexed on your PC, to keep the index small and efficient, only have folders of your personal files in the Index, remove other folders like system folders that do not need to be indexed.
___________________________________________________________________
Windows >=10



2
05/05/2026
Windows >=10 Formatting Check Disk Chkdsk
check disk bad
Hard Drives
What is CHKDSK

Check Disk (CHKDSK) is a Windows built-in tool that scans your hard drive for corrupted files, repairs bugs and errors, and cleans up disk space to maintain your PC’s health. Use this tool when your PC is slow due to an almost full or failing hard drive.

CHKDSK commands:

chkdsk - Scans the hard drive for bugs or errors with no attempts of repair.
chkdsk [drive letter] - Replace “[drive letter]” to specify the internal or external drive to scan. For example, chkdsk C:
chkdsk /f - Attempts to fix bugs or errors while scanning the hard drive.
chkdsk /r - Attempts to fix sectors on the hard drive to make them readable in the file system.
chkdsk /x - Disconnects a drive to scan and fix it.
chkdsk /f /r /x - Scans the file system and its sectors, and fixes any errors found. If needed, this also disconnects the drive.

Run CHKDSK from File Explorer
If there only a few bad sectors on your drive, you can run CHKDSK command and format the drive to repair those bad sectors:
1. Press the Windows key and type cmd.
2. Right-click "Command Prompt" and choose "Run as administrator".
3. Type chkdsk E: /f /r /x and hit
Windows >=10



2
05/05/2026
Windows >=10 Network Powershell To Discover Uses
power powershell network
Network
Make sure that the user you are using to access the shared folder is granted access permissions on the remote share. Open the properties of the shared folder on the server and make sure your user has at least read permissions. Also, you can check the SMB file share permissions on the remote host using PowerShell:
Get-SmbShareAccess -Name "dropbox"

Then check the NTFS folder permissions:
get-acl E:dropbox |fl powershell: check shared folder and ntfs permissionsIf necessary, edit the permissions in the folder and/or share properties;

Make sure you are using the correct username and password to access the network folder. If you’re not prompted for a username and password, try removing saved (cached) credentials for remote shares in Windows Credential Manager. Run the command rundll32.exe keymgr.dll, KRShowKeyMgr and delete cached credentials for the remote computer you are trying to access.

To change directories in PowerShell, you can use the Set-Location cmdlet or its alias cd. Here’s how you can do it:

Example 1: Using cd
Copy the code
cd C:UsersYourUsernameDocuments

Example 2: Using Set-Location
Copy the code
Set-Location C:UsersYourUsernameDocuments

Example 3: Navigating Relative Paths
To move up one directory:
Copy the code
cd ..

To move into a subdirectory:
Copy the code
cd SubfolderName


PowerShell is case-insensitive, so you don’t need to worry about capitalization. If the path contains spaces, enclose it in quotes, like "C:My Folder".
Windows >=10



2
05/05/2026
Windows >=10 Query Cmd Ftype|clip
cmd ftype
Windows >=10



2
05/05/2026
Windows >=10 Setup Running Check Disk On A Hard Drive
hard drive errors
Hard Drives
winkey - S
cmd

chkdsk F: /f /r /x

How to Run CHKDSK in Windows 11
Running CHKDSK in Windows 11 will help you find and repair file system errors and bad sectors on your hard drive.

Step 1: Open Command Prompt as Administrator
Press Win + S, type “cmd,” right-click on Command Prompt, and select “Run as administrator.”

Opening Command Prompt with admin privileges is crucial as CHKDSK requires elevated permissions to perform disk repairs.

Step 2: Enter the CHKDSK Command
Type chkdsk C: /f /r /x and press Enter.

The command instructs CHKDSK to scan the C: drive, fix errors, locate bad sectors, and dismount the drive before the scan.

Step 3: Confirm the Scan
Press Y if prompted to schedule the scan for the next restart.

Scheduling the scan ensures that CHKDSK runs during the next system boot, as it can’t scan the drive while it’s in use.

Step 4: Restart Your Computer
Reboot your system to allow CHKDSK to perform the scan.

Upon restart, CHKDSK will begin scanning and repairing the drive, which can take some time depending on the disk’s size and condition.

Step 5: Review the Results
Once the scan is complete, Windows will boot normally, and you can check the scan results in the event logs.


The results will indicate any errors found and whether they were fixed. You can review them in the Event Viewer under Windows Logs -> Application.

After you complete these steps, your computer will boot up normally, and you’ll have a detailed report on any disk issues that were found and fixed. Your system should now run more smoothly, free of the errors that CHKDSK addressed.
Windows >=10



2
05/05/2026
Windows >=10 Video How To Record Any Type Of Screen Activity In Windows With Xbox Bar
screen capture
Windows 11
https://www.zdnet.com/article/how-to-screen-record-in-windows-10-or-windows-11/

1. Go to Settings

In Windows 10 or 11, go toÂÂ Settings > Gaming > Captures. The screens look different between Windows 10 and 11, but the settings are all the same.

By default, your screen recordings are saved in your user folder under VideosCaptures, but you can change the location if you wish. Next, you can opt to record activity that has already occurred.

In Windows 10, turn on the switch forÂÂ Record in the background while I'm playing a game. In Windows 11, turn on the switch forÂÂ Record what happened. You can then determine the duration for background recording. Click the dropdown menu forÂÂ Record the lastÂÂ to set the time to anywhere from 15 seconds to 10 minutes.ÂÂ

Background recording option for Xbox Game Bar

Enable background recording for Xbox Game Bar.

Screenshot by Lance Whitney/ZDNET

2. Enable your recording options

Next, check the boxes forÂÂ Record even when my PC isn't plugged inÂÂ andÂÂ Record while wireless projecting my screenÂÂ to enable both options.ÂÂ

Also:ÂÂ How much RAM does your Windows 11 PC need?

Click the dropdown menu forÂÂ Max recording lengthÂÂ to set it to 30 minutes, 1 hour, 2 hours, or 4 hours.

Maximum recording length options

Set maximum recording length.

Screenshot by Lance Whitney/ZDNET

3. Enable capture and control audio during screen recording

To capture and control the audio during a screen recording, turn on the switch forÂÂ Record audio when I record a gameÂÂ orÂÂ Capture audio when recording a game. You're then able to set the quality of the audio, the recording volume for your microphone, and the volume for your PC.

Audio customizing options

Customize the audio.

Screenshot by Lance Whitney/ZDNET

4. Turn off Capture mouse cursor when recording a game

The recommended frame rate is 30 frames per second. You can bump that up to 60fps, but 30fps should suffice for most recordings. The default video quality is set to standard, though you can change that to high if necessary. Finally, you can turn off the switch forÂÂ Capture mouse cursor when recording a gameÂÂ if you don't typically record the mouse cursor.ÂÂ

Video quality options

Set the video quality.

Screenshot by Lance Whitney/ZDNET

5. Control keyboard shortcuts

Next, several keyboard shortcuts are available to control Xbox Game Bar. In Windows 10, you can view and even change the shortcuts in the Settings screen. For this, go toÂÂ Settings > Gaming > Xbox Game Bar.

Also:ÂÂ How to control Windows 11 with your voice

In Windows 11, you have to open the Game Bar interface to view and modify the shortcuts. The following shortcuts are ones you'll want to keep in mind:

  • Windows key+G: Open Xbox Game Bar.
  • Windows key+Alt+R: Start or stop recording.
  • Windows key+ Alt+G: Record the last 30 seconds of screen activity.
  • Windows key+Alt+B: Turn HDR on or off,
  • Windows key+Alt+PrtScn: Take a static screenshot of your screen activity.

Windows >=10



4
05/05/2026
WP Archive Saved Android Video Text
android
 











00:00:00 hidden setting in gallary app
00:13:13 settings -> search for gallery -> Gallery App info -> Mobile data ->
turn off Allow background data usage
00:33:02 <- Battery -> Restricted
00:39:09 <- Appear on top or draw on top -> Allow permission - off
00:46:24 Open gallery app -> 3bar menu rigth corner ->
00:58:00 Settings -> About Gallery -> Tap on version# 5times fast
01:06:22 <- Gallery labs -> Samsungs hidden tool list ->
01:21:05 When receiving Samsung update
01:28:14 Enabled trackers to turn off
01:35:28 SETTINGS -> Google Services -> All Services ->
01:58:09 personalize using shared data -> turn all 3 or 4 listed off
02:07:26 SETTINGS -> Apps -> 3dots right -> Special Access ->
-- usage dat access -> Google ->
02:23:27 Disable all 3 Google entities
02:30:07 3 setting to always turn off ->
02:43:20 SETTINGS -> privacy & security -> more privacy settings ->
--- Personal data intelegence -> Turn off
03:18:08 <- usage & diagnostics -> turn off
03:35:03 END
[video width="720" height="486" mp4="https://softwarewebdesign.com/SWDHome/wp-content/uploads/2025/12/android20251230.mp4"][/video]

video
00:00:00 Dangerous setting to turn off on Android phone
00:03:28 Open Settings
00:06:00 Click on about phone
00:08:07 Next Software Information
00:09:29 Next Build Number (click 7 times) Developer Mode activated
00:12:12 Go back main settings
00:16:26 Click Developer options on bottom
00:21:09 Go System Tracing
00:23:13 Turn off Trace Debugable Applications
00:28:27 Next Per-CPU buffer size
00:31:23 Use 8192 KB
00:34:17 Clear saved traces
00:41:18 Secret Wi-Fi menu-
- Developer options->Wi-Fi non-persistent MAC->ON
01:33:17 Getting rid of ads
Settings-> Connection - more connection settings->private DNS->private DNS provider->
dns.adguard.com->save
02:33:21 Google reporting - Settings app->Usage & diagnostics (turn off)->
02:49:02 Google reporting 2
- Settings app->digital wellbeing & parental controls->3 dots top->
- Settings->usage data access->settings->turn off access
03:10:11 Google reporting 3
- Settings app->digital wellbeing->customization services->switch off
03:29:07 Secret codes -
- *#62# forwarded calls
03:48:05 Secret codes -
- ##21# call forwarding unconditionally erasure
04:13:01 Secret codes -
- *#06# phone info
04:22:04 parasitic setting -
04:54:20 - Settings app->digital wellbeing & parental controls->3 dots top->
- Settings->usage data access->Settings->allow permissions->OFF
05:22:08 Spying on your phone
05:34:15 Check tracking -
- Settings app->search (spy glass)->type; tracker->unknown tracker alerts->allow alerts-
- manual scan->view report
05:59:13 trackers2
- Settings app-> Security & privacy->permission used 24 hr->three dots -
- Show system apps->permissions tab->physical activity->customization service->See all custom {link}
some apps may require permissions to work
06:41:19 Creation of the developer menu in settings- repeat
07:14:13 END
 

[video width="480" height="720" mp4="https://softwarewebdesign.com/SWDHome/wp-content/uploads/2025/12/AndroidDangerousSettings.mp4"][/video]

 
WP



7
05/05/2026
WP Archive Windows Command Prompt
command prompt
Website








00:00:00 command promps to know - Window Command prompt - -

00:09:14 - Loading command prompt Output to clipboard using pipe. example: ipconfig /all | clip - -

00:17:06 - paste into document - -

00:26:24 - Notepad text dump - -

00:33:11 - Are deleted files are actually gone? > cipher /w:c: Securely write over empty space on your drive. - -

00:55:23 - Drivers > driverquery Show severy driver and when it was installed. - -

01:21:19 - Drivers > driverquery | clip Show severy driver and when it was installed and place in clipboard. - -

01:30:00 - File opens wrong application. < assoc|clip + ftype|clip {shows application path} Shows what programs open what file types, allows you to change it. - -

01:52:22 - Computer screwy > shutdown /r /o Restarts PC directly into recovery menu. - -

02:06:17 - Get system info > systeminfo /fo list|clip systeminfo|findstr /B /C:"OS"|clip Shows just the OS information — filtered, clean, perfect for screenshots. - -

02:25:29 - Is your app on internet? > netstat -abno Shows which apps are talking to the internet and which ports they’re using. - -

03:09:01 - See your group policies! > gpresult /r|clip Shows every Group Policy applied to user and computer - -

03:21:13 - See your wifi profiles > netsh wlan show profiles|clip show profiles. Shows all WiFi networks previous joined. - -

03:38:27 - Forgot your wifi password > netsh wlan show profiles name="Your wifi here" key=clear Shows specific wifi network password in the clear - -

03:53:03 - Hard drive doing the weird > chkdsk /f Checks and repairs file system errors. - -

04:03:14 - Quick health check > wmic diskdrive get status Health check on hard drives or SSDs - -

04:12:26 - Got a resource hog > tasklist /fi "imagename eq msedge.exe" Shows how much resource an application is consuming. {Run ftype to get app names} - -

04:25:17 - User profiles that are configured > net user Shows all users. - -

04:32:00 - Change password on user. > net user existingUserName NewPassword The selected user will have his password updated. - -

04:40:21 - Quick audit < systeminfo System audit- Windows version, build number, install date, BIOS version, etc. - -

04:56:04 - Update all applications > winget upgrade --all Updates all apps on your system, replacing chocolatey or manual updating - -

05:06:15 - Window s wierdness happening > sfc /scannow Repairs corrupt system files - -

05:18:16 - Need a deeper scan tool > DISM /Online /Cleanup-Image /Restore Health Deep repair tools - -

05:34:27 - Check battery on laptop > powercfg /batteryreport Creates battery health report - -

05:45:06 - Show my DNS cache ipconfig /displaydnsShows DNS cache - -

05:58:17 - What application is using what port > netstate -ano Shows ports + process IDs - -

06:10:06 - Replace task mangager detective work > tasklist /svc Shows what services and processes are running - -

06:19:20 - Force Windows shutdown > shutdown /s /t 0 Force shutdown immediately (works remotely) - -

06:28:24 - Force Windows shutdown {IT gold} > shutdown /i Graphical remote shutdown manager (IT Gold) - -

06:35:12 - Get MAC address > getmac Shows MAC address of local + remote machines - -

06:42:20 - List of apps intalled on my system > wmic product get name|clip Lists installed apps - -

06:52:24 - For admins: group policy update > gpupdate /force Force Group Police update - -

06:59:12 - For admins: silently access network users C drive > net use ||computer|C$ Access someone's C drive silently (with creds) - -

07:07:21 - Who am I? > whoami /groups Shows AD groups you're in - -

07:18:27 - Kill frozen app and restart . taskkill /f /im explorer.exe & start explorer.exe Restart Windows Explorer example - -




[video width="360" height="243" mp4="https://softwarewebdesign.com/SWDHome/wp-content/uploads/2025/12/WindowsCommandPrompt2025.mp4"][/video]

movie here
WP



2
05/05/2026
WP Convert Windows 11 Speedup
windows 11 SWD backup
WP



368
05/05/2026
WP Customizing Adding Sessions To Wordpress
session function
Wordpress Apps
To add
session_start() using a WordPress hook, the recommended approach is to hook into the init action with an early priority in your theme's functions.php file or a custom plugin.
Recommended Code Snippet
Add the following code to your active theme's functions.php file:
php

function register_my_session() {
if (!session_id()) {
session_start();
}
}
add_action('init', 'register_my_session', 1);
WP



3
05/05/2026
WP Customizing Displaying Page Content In Template
content function template
WP



1531
05/05/2026
WP Customizing Prevent Public From Spamming Your Posts
post comment posts comments spam
WP



1328
05/05/2026
WP Customizing Quickest Way To Make Css Changes
fire bug wordpress design tools
WP



2298
05/05/2026
WP Customizing Google Cannot Find My Site
settings search engine google bing
Find the READING section of SETTINGS in the admin. make sure the search engine box is not checked if you want to be searched.





Search Engine Visibility
Search Engine Visibility

It is up to search engines to honor this request.


WP



1328
05/05/2026
WP Customizing Disable Wordpress Site While Making Changes
disable website
WP



977
05/05/2026
WP Customizing Turn Cache Off
cache
All
Delete the cache folder in wp-content/cache/ and also the W3TC configuration files and folders in wp-content, such as w3-total-cache-config.php, db.php, advanced-cache.php and the w3tc folder.

Delete any cache directives in wp-config.php, such as

define('WP_CACHE', true); //Added by WP-Cache Manager

define( 'WPCACHEHOME', '/home/public_html/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager

Delete any caching and expires headers directives in the root .htaccess file, too, such as bracketed by ## START W3TC ##, etc.

And be sure you have cleared your own browser cache.
WP



2
05/05/2026
WP Customizing Change Footer Credits On WordPress
footer credits add_filter
WP



1624
05/05/2026
WP Customizing Adding A Link To The Admin Panel
plugin function.php hyperlink wordpress admin
http://wordpress.org/support/topic/add-link-to-admin-panel

2 cases

1. Plugin
use this plugin : (it'll add a new menu item in your admin panel)

<?php
/*
Plugin Name: Add-Admin-Menu
Author: Sanjay Menon
*/

function mt_add_pages() {

// The first parameter is the Page name(admin-menu), second is the Menu name(menu-name)
//and the number(5) is the user level that gets access
add_menu_page('admin-menu', 'menu-name', 5, __FILE__, 'mt_toplevel_page');
}

// mt_oplevel_page() displays the page content for the custom Test Toplevel menu
function mt_toplevel_page() {
echo '
<div class="wrap">
<h2>New admin menu</h2>
<li><a href="http://www.icore.net.tc"><h3>Author Homepage</h3></a></li>
</div>';
}
add_action('admin_menu', 'mt_add_pages');
?>
OR
2. function.php
You just have to put that piece of code in "functions.php" file inside your WordPress Theme.

function mt_add_pages() {
add_menu_page('admin-menu', 'menu-name', 5, __FILE__, 'mt_toplevel_page');
}
function mt_toplevel_page() {
echo '
<div class="wrap">
<h2>New admin menu</h2>
<li><a href="http://www.icore.net.tc"><h3>Author Homepage</h3></a></li>
</div>';
}
add_action('admin_menu', 'mt_add_pages');

EXAMPLE 2: You may already have developed your own cool admin. No problem, have wordpress link to your admin and use the example modification to check to see if the user is logged in via wordpress. Just add a link to come back. This way wordpress will not mess up your styling you use in your admin.

<?php
/*
Plugin Name: swd_admin
Description: Link to swd admin
Author: Software Web Design
Version: 0.1

example mystuff modification
session_start();
include("config.php");
require_once("../wp-load.php");
if(!is_user_logged_in() && $bypass!=true){
echo "This site is under construction"; exit;
} else { $wordpress=true; $LEVEL=10; $_SESSION['LEVEL']=10; }


*/
add_action('admin_menu', 'swd_setup_menu');
function swd_setup_menu(){
add_menu_page( 'SWD Plugin Page', 'Go to SWD Admin', 'manage_options', 'admin-plugin', 'swd_menu' );
}
function swd_menu(){
echo "<h1>SWD Menu</h1>";
echo " <a href='/swd-admin/boardOfDirectorsView.php'>Board Passwords</a>
<a href='/swd-admin/directorsView.php'>Directors</a>
<a href='/swd-admin/libraryView.php'>Library</a>
<a href='/swd-admin/libraryCategoryView.php'>Library Categories</a>";
}
?>
WP



2391
05/05/2026
WP Customizing Disable Auto Updates
disable updates theme plugin trash post
Prevent Wp Updates
Example Coding Magic: Turn Off Automatic Updates

define('WP_CRON_LOCK_TIMEOUT', 120);
define('AUTOSAVE_INTERVAL', 300);
define('WP_POST_REVISIONS', 20);
define('EMPTY_TRASH_DAYS', 7);
define('WP_AUTO_UPDATE_CORE', false);
define('AUTOMATIC_UPDATER_DISABLED', true);


Auto updates have been a part of WordPress since version 3.7. Not everyone likes this feature; many would like to turn it off. All you need to do is add this line of code to your

wp-config.php file.

/* Disable WordPress automatic updates */
define( 'WP_AUTO_UPDATE_CORE', false );

If you want to receive minor core updates, but disable theme and plugin updates, you can do so by adding the following filters in your theme’s functions.php file.

Disable automatic WordPress plugin updates:
1

add_filter( 'auto_update_plugin', '__return_false' );
Hosted with ?? by WPCode
1-click Use in WordPress

Disable automatic WordPress theme updates:
1

add_filter( 'auto_update_theme', '__return_false' );
WP



4
05/05/2026
WP Customizing Starting A Session By Modifying The Function.php Of Theme
session function.php
Session
Sessions aren't enabled in wordpress by default, if you want to activate php sessions add this at the beginning of your functions.php:

if (!session_id()) {
session_start();
}

You now can use $_SESSION['your-var'] = 'your-value'; to set a session variable. Take a look at the PHP documentation on sessions.



What is the proper way to start session in wordpress?

I'm trying with wp_set_auth_cookie(), but $_SESSION is always empty. What is the proper way to start a session and access the global array $_SESSION in WordPress?

session_start(); on every first line of php file where you need to use $_SESSION
You have to use this code in function.php

add_action('init', 'start_session_wp', 1);
function start_session_wp()
{
if(!session_id())
{
session_start();
}
}

If done correctly your functions.php file should now look like this at the top.

add_action('init', 'start_session', 1);

function start_session() {
if(!session_id()) {
session_start();
}

add_action('wp_logout', 'end_session');
add_action('wp_login', 'end_session');
add_action('end_session_action', 'end_session');

function end_session() {
session_destroy ();
}
}

You can now add data to the global $_SESSION variable that will be accessible at any point within the application during a user session by accessing the $_SESSION variable. The variable is an array; below is an example of adding data to the session array.

$foo = 'Foo Data';
$_SESSION['foo'] = $foo;

Share
Improve this answer
Follow
edited Jan 29, 2019 at 15:02
Jasper Mulder's user avatar
Jasper Mulder
30322 silver badges1010 bronze badges
answered Apr 4, 2018 at 6:57
sunny bhadania's user avatar
sunny bhadania
42333 silver badges55 bronze badges
Add a comment
0

This results in the following code to start and destroy the session:

add_action('init', 'myStartSession', 1);
add_action('wp_logout', 'myEndSession');
add_action('wp_login', 'myEndSession');

function myStartSession() {
if(!session_id()) {
session_start();
}
}

function myEndSession() {
session_destroy ();
}

To save some data into the session

$_SESSION['myKey'] = "Some data I need later";
And to get that data out at a later time

if(isset($_SESSION['myKey'])) {
$value = $_SESSION['myKey'];
} else {
$value = '';
}
WP



5
05/05/2026
WP Database Database Access
database
WP



4
05/05/2026
WP Database Access Wordpress Connection String
connection string wordpress
WP



4
05/05/2026
WP Files Show Current Page
mysql setting current page
WP



1997
05/05/2026
WP Files Folder Shortcut Functions
home theme plugin site url folder
WP



1565
05/05/2026
WP Files WPfunctions.php
function mysql plugin
WP



2
05/05/2026
WP Formatting Using External Php Pages
external pages get header get footer get sidebar get_header() get_footer() get_sidebar()
WP



759
05/05/2026
WP Formatting Embed Wordpress Page Into An External Php Page
embed wordpress page apply_filters get_pages functions
WP



761
05/05/2026
WP Formatting Make The Top Menu Clickable Only
click-able click-able container menus link submenu sub menu
I create a top menu page for linking pages to a parent page but it causes problems when you want people to click on the sub menus only.

WordPress 3.6 changed the appearance of this.

Appearance > Menus > Edit Menus
You’ll have to create a new menu item in the “Links” box.

There should be a URL box and a Link Text box.

What you’re wanting to do is just make the menu item a container only.

If you want a Navigation Menu Button to be just a container that does nothing except provide a container for a drop-down of other sub menu buttons just place the following in the URL section of the button/menu.

javascript: void(0);

or:

#

Add to menu

http://cyberchimps.com/guide/how-to-use-the-menu-system/

http://cyberchimps.com/forum-topic/make-menu-items-inactive-but-clickable-for-the-drop-down-sub-menu/
WP



1069
05/05/2026
WP Formatting Register Widget Areas In Your Admin Cpanel
widget area register_sidebar functions.php admin
WP



1240
05/05/2026
WP Formatting Hide A Widget Area Without Removing It
hide widget area class id
WP



672
05/05/2026
WP Function Start Plugin
plugin wpdb
Plugin
WP



5
05/05/2026
WP Function Hooks
hook embed
WP



4
05/05/2026
WP Function Code That Displays Errors
error
Error Traping
WP



3
05/05/2026
WP Function Directories
directory function
WP



4
05/05/2026
WP Function Am I Logged Into Wordpress
logged in
Wp Admin
AI Overview
WordPress knows you are logged in by storing hashed, secure cookies in your browser upon successful authentication. When you navigate to a new page, WordPress checks for the wordpress_logged_in_[hash] cookie to identify who you are, making it stateless rather than using server-side PHP sessions.

Authentication Cookie: After login, WordPress sets a wordpress_logged_in_[hash] cookie that lasts for a specific duration, storing your username and authentication details.
Verification: On every admin page request, WordPress checks wp-includes/pluggable.php (using wp_validate_auth_cookie) to verify this cookie, ensuring you are logged in.
Without Cookies: If cookies are disabled or expired, WordPress will not recognize you and will request login credentials again.
No Active Monitoring: By default, WordPress does not track active sessions in the database; it only validates the cookies sent by your browser. Plugins are required to see "who is online"
WP



2
05/05/2026
WP Query Merging Two Wordpress Databases
merge wordpress databases left join posts
http://wordpress.stackexchange.com/questions/94018/merging-two-wp-posts-tables-while-avoiding-duplicates

Import the new table as wp_posts_2, then join them and delete all duplicates based on post_content; then merge the two tables.

The following SQL query (untested!) should give the posts from the new table to be deleted:

SELECT wp2.* FROM wp_posts_2 as wp2 LEFT JOIN wp_posts as wp ON wp2.post_content = wp.post_content WHERE wp2.post_content = wp.post_content

So, you can delete the entries with this query (also untested):

DELETE wp_posts_2.* LEFT JOIN wp_posts as wp ON wp_posts_2.post_content = wp.post_content WHERE wp_posts_2.post_content = wp.post_content

Then merge the two tables.
WP



668
05/05/2026
WP Server Moving Wordpress Site From Design Folder.
moving move wordpress admin
WP



673
05/05/2026
WP Server Passing Php Variables To Page
url passing variables
example wordpress url
http://www.mydomain.com/client-login/?UR=stevew@thickairnet.com&PD=testproduct

If you are not creating a theme:
1. Make sure the php plugin is installed if you want to add php code using the page editor.
2. Add the varibles at the end of the path as below.
http://www.mydomain.com/client-login/?UR=stevew@thickairnet.com&PD=testproduct
3. You can use the $_GET[] to retrieve the variables

Getting a current URL in WordPress can be done in several ways depending on your needs and the page type. Here’s the most common:

Using Global $wp Object
The $wp global object provides the simplest way to obtain the current URL. It gives you access to WordPress query vars, which you can then use to generate the URL dynamically.

Here’s how.
Global $wp;

$current_url = home_url(add_query_arg(array(), $wp->request));

This gets the full URL of the current page, including query vars. It’s useful because it works everywhere, single posts, pages, and archives.

Pros:
Flexible and works with all WordPress pages.
Includes query vars, perfect for tracking or debugging.


Use Case:
For developers who need to generate URLs dynamically in templates or plugins. Just add this to any PHP template file and you’re done!



Using get_permalink()Function
get_permalink() is best when you already have a context-aware template.

Here’s the code:
$current_url = get_permalink(get_queried_object_id());

This gets the URL of the queried object (post, page, or custom post type). It’s simple and works well for single posts or page templates like single.php or page.php.

Pros:
Easy to use for single pages or posts.
No need to handle query variables manually.
Use Case: Use this for navigation links or tracking user activity on specific pages. It’s simple and perfect for specific templates.



Using home_url() for Homepage URL
If you want the homepage URL, WordPress has a function for that:

$current_url = home_url(‘/’);

This will always give you the base URL of your WordPress site, regardless of the page you are on.

Pros:
Super simple.
Works for the root URL of your site.
Use Case: For global settings, navigation lin, ks, or creating absolute URLs in your code.



Taxonomy or Author URLs
For taxonomy terms (categories or tags), use get_term_link(). For author archives, use get_author_posts_url().

Taxonomy URL:
$current_url = get_term_link(get_query_object_id());



Author URL:
$current_url = get_author_posts_url(get_queried_object_id());



Pros:
Template-specific, therefore less processing.
Ideal for archive pages, such as categories or tags.
Use Case: You can use this to customize archive page navigation or to create context-specific breadcrumbs.

Using PHP superglobals ($_SERVER)
Another method for obtaining the current URL in WordPress is to use PHP superglobals. These variables provide direct access to server-side data, allowing you to manually construct the URL.

Here’s how you can accomplish it:

$current_url equals ‘http://’. $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’];

Pros:
Not dependent on WordPress functions so can be used in any PHP environment.
Works on all types of pages, from single posts to archives.
Use Case: Perfect when you need flexibility and are not tied to WordPress template files or functions. Useful for plugins or themes that may run outside the WordPress loop.

Each has advantages, so choose the one that best suits your WordPress project!

By combining superglobals with other WordPress-specific functions, you can create powerful URL-fetching tools tailored to your needs.

Bonus: Get the Current Slug
Sometimes you just need the slug—the short part of the URL that identifies a page or post. For example, if the URL is https://yourwebsite.com/my-post the slug would be my-post. Getting the slug can be super useful for custom dynamic content or URL-based conditions.

Here’s a quick snippet to get the current slug:
global $wp; $current_slug = add_query_arg(array(), $wp->request);
WP



1304
05/05/2026
WP Setup Disable Website While You Are Designing Or Making Major Changes
disable under construction genesis framework
In the header.php file of genisis frame work. Since you logged in through admin you can edit an see page changes. Non logged in cannot see pages.

if(!is_user_logged_in()){
echo "This site is under construction"; exit;
}
WP



1061
05/05/2026
WP Setup What Is The Minimun User Permissions
grant user permissions database create tables privileges install
Below is an example of the minimum privileges a database user needs to have. Other database permissions are regarded as "extra" privileges that in most cases are not needed. A typical WordPress user should be granted the following database privileges only:

SELECT
INSERT
UPDATE

Example of How to Grant Access Privileges

If you are upgrading WordPress, the above database permissions might not suffice between versions, WordPress might need to make further changes to the database. In this case, if you are only upgrading to the latest version of WordPress, add the below privileges to the WordPress database user:

CREATE: You will definitely need this if you manually install WordPress and have it create the tables.
ALTER: I have been getting along without this one. You probably can to.

NOTE: Some plugins might require additional database privileges such as CREATE, DROP ( I have never needed this one.) or DELETE and in those cases these privileges should be granted.

If you have someone doing data entry, DELETE may be very important.
WP



1737
05/05/2026
WP Setup Data List Plugin
widget data list plugin WP_Widget register_widget add_action
This plug in just displays a list of language types for computers and web development

/*
Plugin Name: Language Categories
Plugin URI: http://softwarewebdesign.com
Description: List Language Catagories.
Version: 1.0
Author: Software Web Design
Author URI: http://softwarewebdesign.com
License: GPL2
*/
// WP_Widget_Language_Catagory to WP_Widget_Language_Catagory
class dbase{
var $num=0;
var $id=0;
var $fieldname="";
var $data;
var $insertoption="";
var $quickarray=true;
function multipleRecs($value){
if($value==true)$value=false;
else $value=true;
$this->quickarray=$value;return true;
}
function tableOption($query){
$q = mysql_query($query);
$num_fields = mysql_num_fields($q);
for($ii = 0; $ii < $num_fields; $ii++) {
//$result.= mysql_field_name($query,$ii)."-".mysql_field_type($query,$ii)."(".mysql_field_len($query,$ii).")".mysql_field_flags($query,$ii)."\n";
$fieldinfo=mysql_field_flags($q,$ii);
if(strpos($fieldinfo,"rimary_key")>0){ $this->fieldname=mysql_field_name($q,$ii);break; }
}
}
function dbsql2($query){
$this->insertoption=$query;
}
function dbsql($query){
global $db; global $dc;global $debug;
if($debug!=true)$result=mysql_query($query);
else $result=mysql_query($query) or die(mysql_error().' from '.$query);
if(!$result){
if($debug==true){ echo "Error:".$query;exit;
}else{ echo "Error:".substr($query,0,10);exit;}
}
$sql= strtolower($query);
if(strpos($sql,"nsert into")==1)$AC=1;
if(strpos($sql,"elect")==1){ $AC=2;$this->num=mysql_numrows($result); }
if(strpos($sql,"pdate")==1 || strpos($sql,"elete")==1)$AC=3;
switch($AC){
case 1:
$this->id=mysql_insert_id();
break;
case 2:
if($this->num==0 && $this->insertoption!=""){ $this->dbq($this->insertoption); return false; }
if($this->num==0) return false;
if($this->num==1 && $this->quickarray==true)$this->data=mysql_fetch_array($result);
else $this->data=$result;
break;
case 3:
break;
} // end switch


}

} // end class

class WP_Widget_Language_Catagory extends WP_Widget {

// The widget construct. This creates title and description on wordpress admin widget page
function WP_Widget_Language_Catagory() {
$widget_ops = array( 'classname' => 'widget_LanguageCatagory', 'description' => __( "Language Catagory List for picking search topic" ) );
$this->WP_Widget('LanguageCatagory', __('sw - Language Catagory'), $widget_ops);
} // End function WP_Widget_Language_Catagory

// This code displays the widget on the screen.
function widget($args, $instance) {
extract($args);
echo $before_widget;
if(!empty($instance['title'])) {
echo $before_title . $instance['title'] . $after_title;
}
$q=new dbase();
$sql="SELECT * FROM language ORDER BY language";
$q->multipleRecs(true);
$q->dbsql($sql);$result=$q->data;
echo"
    \n";
    for($i=1;$i<=$q->num;$i++){
    $r=mysql_fetch_array($result);
    //echo "
  • ".$r[1]."";
    echo "
  • ".$r[1]."";
    }
    echo"
\n";
echo $after_widget;
} // End function widget.


} // end class WP_Widget_BareBones

// Register the widget.
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_Language_Catagory");'));
?>
WP



1405
05/05/2026

Software Web Design