FIX: Un-allowed DMA capable bus/device(s) detected - Windows 11

Credit goes to this posting:
https://superuser.com/questions/1345848/un-allowed-dma-capable-bus-devices-detected
I've edited it to make the process easier. It helped me solve the issue. Of course, use at your own risk and wear a helmet if you're going to tinker in the registry.
White-list the device​
Open Regedit
Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DmaSecurity\AllowedBuses
Grant yourself access to modify the registry key
Right-click AllowedBuses and go to Permissions
Make yourself the owner
Press Advanced
Next to Owner, make note of what it says (mine said SYSTEM)
Next to Owner, press Change
Enter your username (eg your Microsoft account email address)
Press OK
Grant yourself access
Press Add
Enter your username (eg your Microsoft account email address)
Press OK
Select your user
Tick Full Control
Press OK
Under AllowedBuses, create a new String Value
Run the following PS script which generates a .reg file (with all found PCI devices) in tmp directory and then imports it silently
Code:
$tmpfile = "$($env:TEMP)\AllowBuses.reg"
'Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DmaSecurity\AllowedBuses]'`
| Out-File $tmpfile
(Get-PnPDevice -InstanceId PCI* `
| Format-Table -Property FriendlyName,InstanceId -HideTableHeaders -AutoSize `
| Out-String -Width 300).trim() `
-split "`r`n" `
-replace '&SUBSYS.*', '' `
-replace '\s+PCI\\', '"="PCI\\' `
| Foreach-Object{ "{0}{1}{2}" -f '"',$_,'"' } `
| Out-File $tmpfile -Append
regedit /s $tmpfile
Start removing added entries via regedit one by one while refreshing system info page and checking which entry makes it incompatible again
*Fun fact: Running the script again re-populates the list without duplicating/missing entries
You should find at least one entry that re-enables the System Information message. I had 2. (See photo below).
Keep ONLY the one(s) that trigger the incompatibility message
Make sure to remove the user account that took ownership of the registry folder. I did this by right clicking Allowed Busses-> advanced and deleting my account. No need to do anything else except confirm the original owner (System in my case) has been restored. Be warned that this may NOT be the correct way to restore ownership.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

This, unfortunately, does not work for me. After running the PowerShell script, I get entries added to AllowedBuses, but I still get the "Un-allowed DMA capable bus/device(s) detected" error.
The problem seems to be that I have multiple instances of some unallowed devices. When I run the Get-PnPDevice manually, I see everything, but you can only add a single instance of any given friendly name to the AllowedBuses key in the registry. For example, I have 12 PCI-to-PCI Bridge entries that have 5 different device ID's between them.
I haven't figured out how to whitelist everything I need to whitelist yet, and it seems impossible since I have multiple device ID's with the same friendly name that need to be added.

shrike1978 said:
This, unfortunately, does not work for me. After running the PowerShell script, I get entries added to AllowedBuses, but I still get the "Un-allowed DMA capable bus/device(s) detected" error.
The problem seems to be that I have multiple instances of some unallowed devices. When I run the Get-PnPDevice manually, I see everything, but you can only add a single instance of any given friendly name to the AllowedBuses key in the registry. For example, I have 12 PCI-to-PCI Bridge entries that have 5 different device ID's between them.
I haven't figured out how to whitelist everything I need to whitelist yet, and it seems impossible since I have multiple device ID's with the same friendly name that need to be added.
Click to expand...
Click to collapse
Multiple instances of the same device can be fixed by appending 2, 3, 4 etcetera to the friendly names to make them unique.
I have five "PCI Express Root Port" devices with the same name but different device-id's, and this trick fixed the "Un-allowed DMA capable bus/device(s) detected" error for me.

Related

[App] backGrounder - Boot/phone/shutdown image installer

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What have I done?
Well I always wanted to change the startup screens on my MotoQ.
Well not exactly. I always wanted the ability to change it. So I could change phone dialer screen and edit other xmls is my real motive.
So this works ALMOST. Why sometimes select a image is acting wierd. But changing the images works great.
If I can fix up a version that works better for you let me know.
This app will back up your original settings. It wont delete any default images. It will copy the images you choose to the program folder backGrounder directory and then delete those same image copies if you deselect them.
You will need Mortscript.
What are the requirements? I have no idea.
I have a WM5 smartphone.
I could have it make sure the images were valid jpg/png/gif first.
[App] Start Menu View: from Moto Q8
This application is use for changing menu background with easy. You also can change the menu view: List or Grid. Every menu folder can have different background and can insert background picture from any location in your phone.
Just copy the folder into your phone (phone or mem card doesn't matter) then run the application. You can create shortcut manually.
It seems gif images just show up as static images. how disappointing.
On the plus side I noticed that we can set the timeout one the images that do show. I will add setting those timeouts on the next version. I wonder what happens if i set those to zed?
I think i will rearrange the menu choices so as to mimic how they appear on the phone.
Next update:
http://forum.xda-developers.com/showthread.php?t=591508
Cab file install
AppToDate support
new stuff
Change SMS Inbox, Compose and Chat Background
* Change the Dial and In-Call Screen Background
1. Copy \Windows\BackgroundImage_Land.bmp and \Windows\_BackgroundImage_Land.bmp to your PC or a backup folder in case you want to restore these in the future.
2. Make images with dimensions of 320 x 186 with the same names as the files above above.
3. Copy the new images back to the \Windows\ folder and overwrite the old files.
Updates still pending.
May add font adjustor:
http://www.careace.net/2009/03/06/change-your-system-font-on-your-windows-phone/
There might be plenty of application out there that may give you the freedom to tweak your device’s themes. But why go through all the trouble when all you want to do is to simply change your system’s font? Get your registry editor ready and let’s change some system font for your Windows Phone!
*Warning: Please be careful when increasing font size. In cases when the font is enlarged too much you may not be able to see the content on the screen and may have to go through hard-reset to continue using the device.
Objective
Change the default system font on your Windows Phone
Applicable Device(s)
Windows Mobile PocketPCs and Smartphones
Samsung Omnia, Samsung Epix, Samsung  Blackjack
What you need
Registry Editor (such as PHM)
Registry Address
HKEY_LOCAL_MACHINE\System\GDI\SYSFNT
Value Name
There are several values you can change here:
Nm: The font name of the system
Ht: The font size in points
It: If the font is Italics
Wt: The weight of the font (bold)
Value Data
Nm: Choose a font that’s ClearType enabled
Ht: We advice anything between 6 to 15
It: enter ‘1′ to enable or ‘0′ to disable
Wt: Default is ‘190′, anything between that number and 400 should be fine.
Screenshot
For some, this is an optional option, but for others the font type can be very much essential part of their mobile user-experience.

Remove SMS/MMS Limitation!

Hey guys,
I had the problem of having quickly had the restriction of the number of text messages that can be sent, and I have found the solution, follow the guide
HTML:
Please take all my words lightly; do not take things I can say seriously.
Indeed, I will not be responsible for your actions if you decide to act,
according to my words, and also all the legal consequences / dead devices / thermonuclear war and other ****.
Any advice, courses, guides and other **** given by me are strictly for educational purposes and / or entertainment.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction:
Google has had the good idea to limit the number of outgoing SMS to 100 per contact hour after which it will, every sms, confirm that you are sending the text message in question.
Some love sms bomb their friends by spamming them, it looks at the ..
Others have a family, a wife or a little too clingy girlfriend (s) and answer questions tantamount to send more than 100 SMS per hour
Tested under MIUI under RemICS, Paranoid Android, AOKP Milestone 6 , CM9. And in CM11 For my LG P710(by weritos)
Prerequisites:
- A Root Explorer (Root explorer, ES file explorer ..)
- A SQL editor (Editor SQLite, SQL manager ...)
Tutorial:
ICS,JB Method
1. Open your Root Explorer.
2. Go in /data/data/com.android.providers.settings/databases/
Open settings.db your SQL editor
3. Open the database 'Secure'
4. Press the Menu button> New Record / New Table
5. As set name: sms_outgoing_check_max_count
6. MEMC value (value) type the maximum number of sms you want, personally I put 999999
7. Save.
8. Take back then go to the system table
9. Repeat steps ahead 4-7 and return to your root explo.
10. Go in /data/data/com.google.android.gsf/databases/
Open gservices.db
11. Open the database '' Main ''
12. Repeat steps 4-7.
13. Once saved close everything and reboot your phone !
Kit Kat Method :
1. Open your Root Explorer.
2. Go in /data/data/com.android.providers.settings/databases/
Open settings.db your SQL editor
3. Open the database 'Global'
4. Press the Menu button> New Record / New Table
5. As set name: sms_outgoing_check_max_count
6. As value (value) type the maximum number of sms you want, personally I put 2000
7. Press the Menu button> New Record / New Table
8. As the name put: sms_outgoing_check_intervale_ms
9. As value (value) type the number of times that you want to reset the counter, personally I put 1.8 million (which corresponds to 15min)
10. Save.
11. Restart the phone.
This tutorial is not totally about me, the person has took from us (xda-devellopers) to translate for SGS-Team, and me re-translated for us (with KK Guide added)
This tutorial is only informative purpose, if you use a mobile to DoS you will be solely responsible!
I hope that my translation was helpful
Dont forget to hit Thanks button
Source: http://galaxys-team.fr/viewtopic.php?f=83&t=28614

General Windows Subsystem for Android - Hidden Settings/Device Administrator Access

I am attempting to enroll the Windows Subsystem for Android into my companies Intune MDM solution for testing purposes.
My company doesn't mark as non compliant if the device is rooted or have any policies preventing this.
I have Windows Subsystem for Android with Play Store and Magisk installed.
I am currently stuck on providing the Intune Company Portal App Device Administrator Access. The prompt to Allow Device Administrator access Displays the Warnings and advises the permission changes, Although when I click Activate, the Device Admin prompt crashes and the Intune portal hangs seemingly forever until the subsystem crashes.
After further investigation I have found that I am able to open the android settings that aren't available through the windows subsystem menu. after connecting via ADB using:
Code:
adb shell
am start -n com.android.settings/.Settings
I found after looking through the settings there is no device administrator management options under security.
I should be able to access the device administrator options using the below
Code:
adb shell
am start -n com.android.settings/.Settings/$DeviceAdminSettingsActivity
However this does not seem to work.
My next work around was to use adb to activate the device admin against the app however I am stuck on
Code:
adb shell
dpm set-active-admin --user current com.microsoft.windowsintune.companyportal/
Although I now realise i need to point to the correct receiver within the companyportal application
I have checked the application using pm dump, however I am confused as to which receiver I use and how to determine this.
My next step when time permits will be checking build.prop and seeing if adding in ro.config.low_ram=false to see whether that resolves the issue.
looking for the same, trying to use the windows subsystem for android for work.
there an other method to open com.android.settings with shortcut
you can open settings on browser with "wsa://" "wsa://com.android.settings"
or
first open shorcut example ZArchiver and open location
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
then copy shortcut ZArchiver then open the Properties
change "target" shortcut to like the image "com.android.settings" then apply or ok.
to
(the icon was up to you)
then rename shortcut to Settings (the name up to you)
and voila. the settings are opened
(if not showing to start menu the shortcut. maybe reboot help you)
The Settings menu you mention isn't Android OS related. it relates to Windows OS where WSA runs on top.
A Settings app what explicitly relates to WSA's Android OS presnts to user like this
and allows you to set
It's APK is attached
BTW:
ZArchiver also is available as APK ( latest version: 1.0.8 - 19 Dez 2022 )
I had the problem that I wanted to get to some subcategories of the network settings, but the WSA basically redirects me to the Windows options or crashes when I try to access the Android network menu, depending on the option.
With the App Hidden Settings, you get shortcuts to a many sub-settings, which is what I was able to use to configure the DNS settings for the WSA. Might that be an option for you as well?
The APK is available here:
https://apkpure.com/hidden-settings-for-android/com.jami.tool.hiddensetting
Most options offered by the mentioned app aren't available: WSA is a Hosted OS, is implemented as a Windows OS service, it runs on top of Windows OS.

General Parental Control by Modifying HOSTS File

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Do you not want your child to see adult content on your Windows computer? If not then this thread may be for you.
Five in 100 visitors of porn sites are under 10 years old.​
I know there are several ways to block porn contents ( photos, videos, and websites ) on your Windows computer: Using HOSTS file - what is present on each Windows computer - to block those sites is a great way to limit which porn and violent content an be watched, IMO.
Attached is a HOSTS file what contains almost 20,000 porn-blocking entries - compiled Jan 15, 2023.
You add these porn-blocking entries to your existing HOSTS file via Windows CMD ( must be launched as Adminstrator ) as shown next
Code:
CD \%SYSTEMROOT%\System32\Drivers\Etc
IF EXIST "HOSTS*.*" ATTRIB +A -H -R -S HOSTS*.* >nul
IF EXIST "HOSTS" COPY /Y /A HOSTS HOSTS.bak
IF EXIST "HOSTS" COPY /Y /A HOSTS + <full-path-to-anti-porn-file-here> HOSTS.new >nul
IF EXIST "HOSTS" REN HOSTS.new HOSTS >nul
Of course you also may use HostsMan app to add these entries to existing HOSTS file.
Important Notices:
1. Adding the porn-blocking entries to HOSTS file doesn't make any changes to the Registry or install any additional
files to the Operating System.
2. In some cases, Windows can reset “HOSTS” file to default state because of the Protection, you may need to use File – Hosts File – Add Exclusions to Windows Defender feature to avoid it.
3. In most cases a large HOSTS file ( over 135 KB ) tends to slow down a Windows machine.
To resolve this issue (manually) open the "Services Editor"
Start | Run (type) "services.msc" (no quotes)
Scroll down to "DNS Client", Right-click and select: Properties - click Stop
Click the drop-down arrow for "Startup type"
Select: Manual, click Apply/Ok and restart.
Please remove the two quotation marks from the link so that the page opens correctly.
done

Question How do I recover a deleted sub-folder & removed from recycle bin when I don't know the sub-folder name?

A folder got thrown into the recycle bin in error & the recycle bin has been cleared today. I didn't even know the folder was gone till I went to access it & could no longer find it. I have searched the entire drive thinking maybe it got moved. Nope. It is Gone!
The problem is, that I do NOT know the name of this sub-folder
I have been attempting to recover the folder & all its contents using MS Windows File Recovery App. However, I have only been able to guess at the sub-folder name. I do know that this sub-folder contains only "xdoc" files.
Ex: C:Users\my-user-name\my-folder\unknown-folder\*.xdoc
I have simply entered on "Windows File Recovery App" at the command prompt:
winfr c: d: /n Users\my-user-name\my-folder\guess-this unknown-folder\*.xdoc
my-user-name = my user name
my-folder = a sub folder
unknown-folder = the sub-folder where all my deleted stuff resides, only I don't know the name of it.
guess-this unknown-folder = the various possible iterations of said unknown sub-folder.
I have also tried this on the command prompt, completely eliminating the sub-folder name. I thought it possible that the App would simply get ALL items including the sub-folder AND it's files.
winfr c: d: /n Users\my-user-name\my-folder\*.xdoc
FAIL
But even though there ARE "xdoc" files in that other sub-folder, the Windows File Recovery App ONLY searches that last folder called out and NOT any sub-folders. ie: Apparently it ONLY searches for files
I have been guessing at possible names of this sub-folder only to come up empty.
PS> I have also searched download.cnet.com/ for a free-bee utility that might solve my problem, only to come up empty.
- - - - - - - - - - - - - - - - - -
Q1: Is there a way to FIND the name of the sub-folder after it has been removed from the recycle bin?
OR
Q2: How can I get my files back without knowing the name of that last sub-folder?
OR
Q3: is there ANOTHER way to recover an unknown folder w/o buying some utility?
If you haven't enabled the File History feature on your Windows 11 system, my guess is you have lost.
Always Use File History to Preserve Important Files on Windows 11
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
xXx yYy said:
If you haven't enabled the File History feature on your Windows 11 system, my guess is you have lost.
Always Use File History to Preserve Important Files on Windows 11
Click to expand...
Click to collapse
I see that "File History" requires a 2nd partition or drive. Currently, I only have the "C" drive & have no idea how to create a "D" partition.
So, you are correct - No File History means I lost them. But I would like to be prepared next time and have a "D" drive available.
You at any time can partition the C drive via
Disks & volumes settings on Windows 11​
How-to here:
How to manage storage devices on Windows 11
Here are the steps to use the Disks & volumes settings and Disk Management consoles to manage storage devices on Windows 11.
www.windowscentral.com
It works on both a HDD and a SSD.
Of course other guides exist, too: GIYF ...
same here i also lost important file permanent deleted
file was few mb is there anyway to recover it

Categories

Resources