Logo

Increase or decrease notification display time

As you know, the Windows 10 Action Center has a stack of all the notifications that come from different applications on your computer. So each time an app displays notifications, it will be displayed for about 5 seconds and then it disappears right away. Although the allotted time for the notifications to be displayed is quite enough to catch your attention and help you get a glance at the message, there are times when you might miss it and you hoped it could’ve been displayed a lot longer. So in this post, you will be guided on how you can increase or decrease the display time of the notification in Windows 10.

The best way you can view the missed notification is to click on the Action Center. From there, you will see all the notifications that are grouped by the applications. This means that if you have a lot of notifications, it would be hard for you to find what you are looking for. Thus, in such cases, the best way you can do is to increase the display time for which notification to stay on the screen.

To get started, refer to the instructions given below.

Step 1: Tap the Win + I keys to open Settings.

Step 2: Next, navigate to Home > Ease of Access > Display.

Step 3: After that, scroll down to the end until you see the dropdown to change the notifications where you should see the “Show notifications for”.

Step 4: Then you can change the time from the default 5 seconds to 7, 15, 30, and so on.

Step 5: Once done, the display time of the notifications should stay longer but keep in mind that you must choose the length wisely so if you have notifications from a lot of apps, then the screen will also be filled with multiple notification cards.

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

Changing the Ownership of a File or Folder
There are many times when you have to change the ownership of a folder or a file so that other users can use them as well or if you want to transfer files to them, or an old account has been removed and all the files need to be assigned to a new user. Windows 10 keeps all these files locked under the account by default which created a folder or file. So unless a user is an admin or if the file belongs to that particular user, other users won’t be able to access or edit the file. So if you want to change the ownership of a folder or a file, then you’ve come to the right place as this post will guide you on how exactly you can do that.

To get started, make sure to follow the instructions provided below carefully.

Step 1: First, you need to open File Explorer by tapping the Win + E keys. Once you’ve opened it, navigate to the folder or file that you want to change the ownership. Step 2: Right-click on the folder or file and click on Properties and then go to the Security tab. Step 3: From there, click on the Advanced button located at the bottom right part of the window to open the Advanced Security Settings of the folder or file. Step 4: As you can see, the current owner will be listed with the Change link available next to the “Owner” label. Now click on this link to open the Select User or Group window. Step 5: After that, click on the Advanced button once again and click on the “Find Now” button to see the list of all the users as well as groups that are available in the computer. Step 6: Then select the user you want to give ownership to and click on the OK button and then click the OK button once more to save the changes made. Step 7: This will take you back to the Advanced Security Settings window but this time, the owner will be changed to whoever user you’ve selected. But you’re not done yet as you still have to check two additional options to help you completely transfer the ownership of the sub-folders as well as the files. You have to check the checkbox of the following options:
  • Replace owner on sub-containers and objects
  • Replace all child permission entries with inheritable permission entries from the object.
Step 8: After that, you need to click the Apply and OK buttons to confirm and save the changes made. This will completely transfer the ownership of the file. However, there is still one last thing you have to do – you have to go back to the Advanced Security Settings window to remove the access of any other user on the folder or file. Once you’re there, remove the existing user to make sure that the only assigned user has the access to the folder or file.
Read More
Removing FlightSearchApp from your computer

FlightSearchApp is a browser extension for Google Chrome. This extension claims to be a simple tool to provide updates regarding flight arrivals, flight departures, flight tracking, and access to time zone converters. However, it is a potentially unwanted program which is also known as a browser hijacker.

This extension hijacks your browser home page and search engine changing it to MyWay. While this extension is active you will see additional ads, sponsored links, and sometimes even pop-up ads appearing through your browsing sessions. It also keeps track of your browsing data, recording your browsing activity, website visits, clicks, and potentially personal information. It also adds a toolbar to the browser header which can lag the browser while also reducing usable screen size.

Several anti-virus scanners have marked this extension as a Browser Hijacker, and is therefore not recommended to keep on your computer.

About Browser Hijackers

Browser hijacking is regarded as the internet’s constant risk that targets web browsers. It is a kind of malicious software that alters your web browser’s configuration settings so that you are redirected to websites or webpages that you had no intention of visiting. Basically, nearly all browser hijackers are made for marketing or advertising purposes. The idea would be to force users to visit particular websites which are looking to improve their visitor traffic and produce higher ad earnings. It might appear naive, but the majority of such sites are not legitimate and will pose a serious threat to your on-line safety. Some browser hijackers are designed to make certain modifications beyond the web browsers, like changing entries in the computer registry and allowing other malware to further damage your PC.

How one can know whether the browser is hijacked?

Symptoms that your browser is hi-jacked include: 1. the browser’s homepage is changed 2. you see new unwanted favorites or bookmarks added, typically directed to ad-filled or pornography websites 3. The default search page of your web browser is altered 4. unsolicited new toolbars are added to your web browser 5. many pop-up ads show up and/or your browser pop-up blocker is disabled 6. your web browser has become unstable or starts running slowly 7. You can’t access particular websites, in particular anti-virus sites.

How it infects your PC

Browser hijackers can get into a computer by some means or other, for instance via file sharing, downloads, and email too. They are generally included with toolbars, add-ons, BHO, plugins or browser extensions. Some browser hijackers spread in user’s computer systems using a deceptive software distribution technique known as “bundling” (usually through freeware and shareware). Browser hijackers may record user keystrokes to collect potentially valuable information that leads to privacy issues, cause instability on computers, significantly disrupt user’s browsing experience, and finally slow down the computer to a point where it will become unusable.

Browser hijacker removal tips

Some types of browser hijackers can be quickly removed from your PC by uninstalling malicious programs or any other recently installed freeware. At times, it can be a challenging task to identify and eliminate the malicious component since the associated file could be running as part of the operating system process. On top of that, manual removal expects you to execute many time-consuming and intricate procedures that are very hard to carry out for new computer users. You might opt for automatic browser hijacker removal methods by just installing and running an efficient anti-malware program. One of the recommended tools for fixing browser hijacker infections is SafeBytes Anti-Malware. It assists you eliminate any pre-existing malicious software on your system and provides you real-time monitoring and protection against new threats. Utilize a system optimizer along with your anti-malware to fix various registry issues, remove computer vulnerabilities, and enhance your computer's overall performance.

Virus Blocking Internet And All Anti-Malware Software? Do This!

Every malware is bad and the degree of the damage will differ greatly with regards to the type of infection. Some malware is meant to interfere with or prevent things that you wish to do on your personal computer. It may not allow you to download anything from the net or prevent you from accessing a few or all of the websites, particularly the anti-malware websites. If you’re reading this now, you have perhaps realized that a malware infection is the real cause of your blocked internet traffic. So how to proceed if you want to download and install an anti-malware program like Safebytes? There are some solutions you could try to get around with this issue.

Download the application in Safe Mode with Networking

Safe Mode is a unique, simplified version of Windows in which just bare minimum services are loaded to prevent malware and other troublesome applications from loading. If the malware is set to load immediately when PC starts, switching into this mode can prevent it from doing so. To start the computer into Safe Mode, hit the “F8” key on your keyboard just before the Windows boot screen shows up; Or after normal Windows boot up, run MSConfig, check “Safe Boot” under Boot tab, and click Apply. Once you are in Safe Mode, you can attempt to download and install your antivirus program without the hindrance of the virus. After installation, run the malware scanner to remove standard infections.

Utilize an alternate web browser to download an anti-malware program

Some malware mainly targets specific browsers. If this is your situation, use another internet browser as it could circumvent the malware. The ideal solution to overcome this issue is to opt for a browser that is well known for its security measures. Firefox contains built-in Phishing and Malware Protection to help keep you secure online.

Run anti-virus from your pen drive

Another solution is to save and run an antivirus software program completely from a USB drive. Follow these steps to run the antivirus on the affected computer system. 1) Download the anti-malware software on a virus-free PC. 2) Plug the Thumb drive into the uninfected computer. 3) Double click on the downloaded file to open the installation wizard. 4) Select the USB stick as the location for saving the software file. Do as instructed on the computer screen to finish off the installation process. 5) Transfer the flash drive from the clean PC to the infected PC. 6) Double-click the anti-malware software EXE file on the USB flash drive. 7) Hit the “Scan” button to run a full system scan and remove malware automatically.

Features and Benefits of SafeBytes Anti-Malware

In order to protect your computer or laptop from many different internet-based threats, it is important to install anti-malware software on your computer. But with countless numbers of anti-malware companies out there, these days it is tough to decide which one you should buy for your PC. Some of them do a good job in getting rid of malware threats while some will damage your PC by themselves. When looking for an anti-malware tool, purchase one which gives dependable, efficient, and comprehensive protection against all known viruses and malware. Among few good programs, SafeBytes Anti-Malware is the highly recommended software program for the security-conscious user. SafeBytes anti-malware is a trustworthy tool that not only secures your system permanently but is also extremely easy to use for people of all ability levels. Through its cutting-edge technology, this software protects your personal computer against infections caused by different kinds of malware and other threats, including spyware, adware, viruses, worms, trojans, keyloggers, potentially unwanted programs (PUPs), and ransomware. SafeBytes anti-malware provides an array of enhanced features that sets it aside from all others. The following are a few of the great ones: World-class AntiMalware Protection: This deep-cleaning anti-malware application goes much deeper than most antivirus tools to clean out your PC. Its critically acclaimed virus engine finds and disables hard-to-remove malware that hides deep inside your computer. Real-time Threat Response: SafeBytes offers completely hands-free real-time protection and is set to check, block and get rid of all computer threats at its first encounter. It will regularly monitor your pc for hacker activity and also gives end-users sophisticated firewall protection. Safe Web Browsing: SafeBytes checks the links present on a webpage for possible threats and informs you whether the site is safe to visit or not, through its unique safety rating system. “Fast Scan” Features: Safebytes AntiMalware, with its advanced scanning engine, gives ultra fast scanning which can quickly target any active online threat. Minimal CPU Usage: SafeBytes is really a lightweight application. It use up a very small amount of processing power as it operates in the background so you are free to use your Windows-based PC the way you really want. 24/7 Online Support: You may get absolutely free 24/7 technical support from their IT experts on any product queries or computer security concerns. All in all, SafeBytes Anti-Malware is a solid program since it has plenty of features and can identify and eliminate any potential threats. Once you’ve downloaded and installed SafeBytes Anti-Malware, you no longer have to bother about malware or any other security concerns. If you’re searching for the absolute best malware removal application out there, and if you don’t mind spending some money for it, opt for SafeBytes Anti-Malware.

Technical Details and Manual Removal (Advanced Users)

If you want to manually get rid of FlightSearchApp without using an automated tool, it may be possible to do so by deleting the application from the Microsoft Windows Add/Remove Programs menu, or in cases of web browser plug-ins, going to the browser’s AddOn/Extension manager and uninstalling it. You may even want to reset your home page and search providers, as well as delete temporary files, browsing history, and cookies. Lastly, check your hard disk for all of the following and clean your computer registry manually to get rid of leftover application entries after uninstalls. Please remember that only experienced computer users should try to manually edit the registry because incorrect file removal results in a serious problem or even a PC crash. In addition, some malware is capable of replicating itself or preventing deletion. Doing this in Safe Mode is advised.
Files: %PROGRAMFILES(x86)%\FlightSearch_fo %PROGRAMFILES%\FlightSearch_fo %UserProfile%\Local Settings\Application Data\FlightSearchTooltab %LOCALAPPDATA%\FlightSearchTooltab Registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msmpeng.exe Debugger = svchost.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msseces.exe Debugger = svchost.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\free.flightsearchapp.com HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings WarnOnHTTPSToHTTPRedirect = 0 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings WarnOnHTTPSToHTTPRedirect = 0 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore DisableSR = 1 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\ekrn.exe Debugger = svchost.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msascui.exe Debugger = svchost.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run 3948550101 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run xas HKEY_CURRENT_USER\Software\free.flightsearchapp.com
Read More
Setting Standard Desktop icons on Windows 11
Strangely enough, Windows 11 does not feature any typical icon on its desktop when installed. No My PC, no Recycle Bin, nothing, just plain and clean wallpaper. Personally, I like this clean look and feel but of course, there are a lot of users that are used to have some system-related icons on their desktop for easy access. windows 11 desktop iconsDo not sweat, we will turn them back on with ease. The best part is that you can choose which one would you like. So let’s dive right into it and get the icons back for the old Windows feel and look.

Showing selected Icons desktop

  1. Right-click on Desktop and select Personalize
  2. Select Themes from the list of personalization items
  3. Inside themes scroll down and click on Desktop Icon Settings
  4. Desktop Icon Settings will open and inside it, place checkmarks beside icons that you would like to appear on the desktop and click OK
  5. Close settings
As always settings and choices will be automatically applied and icons will appear right away on the desktop.
Read More
Headphones are not working or detected
If you find that your headphones are suddenly not working, read on as this post will help you sort out the problem. There could be several reasons why your headphone is malfunctioning, it could be due to an update you just installed, or it could also be due to incompatible operating system, drivers, and so on. Although updates are created to fix bugs on a computer, there are times when it also causes some issues in the computer. One of the issues it causes is the broken headphone. When this happens, the computer will stop playing any audio using the headphones. The problem, as pointed out, could be due to Windows Updates or incompatible or corrupted drivers in the system. To resolve this problem with the headphones, there are several fixes you can check out. Make sure that you follow each one of the given potential fixes below.

Option 1 – Try to set the headphone as the default device manually

There are times when you plug a headphone, it does not toggle the default audio device. Thus, to fix this issue, you have to set the default audio device to the headphones manually. To do that, follow these steps:
  • First, right-click on the volume icon located on the system tray.
  • Next, select the Open sound settings option to open the Sound section in the Windows 10 Settings app.
  • After that, go to the Output section and select Headphones for the “Choose your output device” option. This should fix the problem for you.

Option 2 – Try to update, rollback or reinstall the Audio driver

If the glitch in your audio has something to do with software, chances are it might be related to the audio driver – it could be that the newest version of your Windows 10 does not work well with the old version of the driver. This is why you have to update your audio driver to the newest available version.
  • Tap the Win + R keys to open the Run dialog box and then type in MSC and tap Enter or click OK to open the Device Manager.
  • Expand the section for the outdated device drivers.
  • And then select the outdated driver(s) and right-click on it/them.
  • From the drop-down menu, select the Update Driver option and follow the on-screen instructions to install the latest version of the driver.
  • Then also click on the option, “Search automatically for updated driver software.
  • Restart your PC after the installation.
Note: If updating the Audio driver didn’t work, you can go to the website of your PC manufacturer and look for the support section where you can download the drivers for your computer. You just need to take note of your PC’s correct model and model number so you can find the appropriate driver.

Option 3 – Try checking the status of the audio-related Windows Services

The Windows Services manages audio for all Windows-based programs and if this service is stopped, audio devices, as well as effects, will also be affected and if this service is disabled, any services that depend on it explicitly will fail to start. So you need to check the status of this service. How? Follow the steps below.
  • Tap the Win + R to open the Run dialog box.
  • Then type in “MSC” in the field and tap enter to open the Windows Service Manager.
  • Next, navigate down to the Windows Audio Service and double-click on it to open Properties.
  • After that, set the Startup Type to Automatic and then click on the Start button and if it has already started, stop it and then start it again.
Note: You should also make sure that the following Dependency Services are started and have Automatic Startup type:
  1. Remote Procedure Call
  2. Windows Audio Endpoint Builder
You should also start the Multimedia Class Scheduler and set it on Automatic if you have it in your system. The Multimedia Class Scheduler Service or MMCSS is a service in Windows that allows multimedia applications to get prioritized access to CPU for time-sensitive processing like the multimedia applications as well as prioritized disc access to make sure that the process does not lack data to process.

Option 4 – Try running the Playing Audio Troubleshooter

Since the Windows 10 operating system has the Playing Audio Troubleshooter, you can use this troubleshooter to try and fix the problem with the headphones. You can access this tool in the Control Panel or in the Taskbar Search and even on the Troubleshooters page of Windows 10. Run this troubleshooter and see if it can fix the issue or not.

Option 5– Try to rollback or install a newer Windows Update

As mentioned earlier, the issue with the headphones could be due to a Windows Update. Thus, to fix the problem, you can try to either roll back or install a newer Windows Update.
Read More
Intel i9 Alder Lake better than AMD Ryzen 9
Alder LakeIf we are to believe news from Intel, new series of processors based on Alder Lake architecture are about to be released somewhere in October. Alder Lake is the 12th Generation Core of Intel processors and it is meant to have all advantages of the current CPU structure. I9 is aimed to pack a punch against its competitors with technology including eight high-performance Golden Cove cores (P-cores) with Hyper-Threading and eight energy-efficient Goldmont (E-cores) equipped with a 30MB L3 cache and operating at high clock speeds. During the benchmark test, the new CPU outperformed all of Intel’s previous Rocket Lake structure processors which is logically expected but the big surprise came from results that indicate better performance than Apple’s new M1 processor even in single-threaded performance which is supposed to be best in that field. Another surprise was really beating AMD Ryzen 9 in each field. If we take into account that i9 has 16 cores in total and can process 24 threads against Ryzen 9 with 16 Cores and 32 threads this is an impressive feature. Now truth to be told Alder lake has massive L3 cache and microarchitectural advantages and consumes much more power but the results of performance are high. Also, note that this early CPU is not really a mass production one and maybe some things will still change but early results are very satisfactory. We will see what will price tag be since in this age of shortage and competition that will also play a big role in its overall success. Speaking of competition I eagerly await AMD’s response to this, in any way it seems that the CPU market is for some turbulence which is always a good thing for the final customer and I welcome it.
Read More
Automatically Adjust Active Hours in Windows
In case you didn’t know, the new Windows 10 v1903 has brought tons of new features around Windows 10 Updates. One of these features is the ability to automatically adjust the Active Hours based on your computer activity. This feature is really useful as it tells the operating system when to install the Windows Updates. A lot of users use the Active Hours feature to ensure that the Windows Update won’t force them to restart their PCs to install the update. So if your computer is turned on, it won’t apply the update during the active hours you’ve specified. In addition, the active hours change for many users and they are not that strict. For instance, if you set the active hours between 10 am to 5 pm, Windows Update won’t be forcing you to restart your computer to install the updates at those times. Note that Windows Update allows enabling an option using where it can monitor the active hours in your computer and change it. To configure this setting, here’s what you have to do:
  • Frist, go to Settings > Update & security > Windows Update.
  • Next, take note of your current active hours and click on the “Change active hours” link.
  • Then toggle the option that says, “Automatically adjust active hours for this device based on activity”. This will change the active hours and if you match it with the previous one, it should be different.
As you can see on the image given above, the earlier active hours were between 8:00 to 17:00 and were changed to 11:00 to 19:00. If you have been using this feature for a while you’ll find how useful and handy it is especially when you’re using your computer and don’t want any notifications like the prompts for Windows Updates to bother you while working.
Read More
Enumerating user sessions to generate ...
There are times when the Windows Search doesn’t work and you wouldn’t have a clue as to why it happened since it does not give any error codes. In such cases, you have to check the error logs in the Event Viewer to find out more about the problem. From there, look for an error with the Event ID 3104 in the Windows error logs and if you see an error message that says, “Enumerating user sessions to generate filter pools failed”, read on as this post will guide you in fixing the problem. Apart from the error message, you might also see more information in the details section of the log that says, “(HRESULT: 0x80040210) (0x80040210)”. This kind of error is most likely caused by something that prohibits the search function from initializing. A lot of users assumed that it could be due to Cortana but it’s actually not. While some users also reported that they encounter the issue after they restarted their computers. This error was also reported with the same event ID 3104 on the Windows Server. According to security researchers, this error could be caused by problems in the Registry entry of Windows search. It could also be due to an issue with the SYSTEM account where it hasn’t been added to the DCOM Security. It is also possible that the Windows Search function has not been initialized. To fix this error, you can try to rebuild the Search Index manually or run the Search and Indexing troubleshooter. You can also check the startup type of the Windows Search service or try some registry tweak.

Option 1 – Try to rebuild the Search Index manually

The first thing you can do to fix the problem is to manually rebuild the Search Index. You can do that by going to Control Panel > Indexing Options and from there, click on Advanced. After that, go to the Index Settings tab and then click on Rebuild > OK. Once you’re done, check if it fixed the problem.

Option 2 – Try running the Search and Indexing troubleshooter

You could also run the Search and Indexing troubleshooter in Windows 10 as it checks whether the settings are in place and automatically corrects any issues with the Windows 10 search function. To run this troubleshooter, just click on the Start button and select Settings > Updates and Security > Troubleshoot. From there, select the Search and Indexing Troubleshooter. Once the troubleshooter is done, restart your computer and see if it fixed the error.

Option 3 – Try checking the startup type of the Windows Search Service

In this option, you have to check the startup type of the Windows Search service since the service won’t start. To do so, refer to these steps:
  • Tap the Win + R keys to open the Run utility and type “services.msc” in the field and then tap Enter to open the Services Manager.
  • Next, from the list of services, look for the Windows Search Service or WSearch. Once you find it, right-click on it and select Properties.
  • After that, change the Startup type to Automatic and click on the Start button if the service is in the Stop state.
  • Now click on the Apply and OK buttons to save the changes made and then restart your computer.

Option 4 – Try changing the Registry entry for Windows Search

Before you apply some registry tweak, you need to create a System Restore point first. Once you have that covered, follow these steps:
  • Tap the Win + R keys to open the Run utility and type “Regedit” in the field and tap Enter to open the Registry Editor.
  • If a User Account Control prompt appears, just click Yes to proceed.
  • After opening the Registry Editor, navigate to this registry path: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows Search
  • From there, click on Windows Search and look for the key named “SetupCompletedSuccessfully” and change its value to “0”. Just right-click on it and select Modify.
  • Then input “0” as its value data and click on OK to save the changes made.
  • Exit the Registry Editor and restart your computer.
  • Now check if the Enumerating user sessions to generate filter pools failed is fixed or not.
Read More
Mapped network drives are not working
When you have to connect to a drive that’s on a different computer or on external storage, that’s where the mapped network drives come in. Mapped network drives make accessing files a lot easier. However, there are times when it won’t work for some reason. Windows will notify you about the unavailability of mapped network drives in several ways. For one, Windows might display a red X on the network drives or it could be that its status will be unavailable when you try to use it from the Command Prompt or via a notification. It is recommended that you run a few scripts when you log in to your PC as it may so happen that the network drive takes more than usual to connect. Before you start troubleshooting the problem using the given options below, keep in mind that some workouts might only work under certain scenarios. You might need some network access at logon or you might need access to the Group Policy settings. So you need to choose what you prefer more. You can try the given workarounds below if the mapped network drives are not showing or connecting or working on your Windows 10 computer. These workarounds use scripts to make sure that you are connected to them as soon as you start to use your PC. As mentioned, before you can troubleshoot, you need to create scripts first. There are two scripts here namely MapDrives.ps1 which is executed by the second script named MapDrives.cmd and is done at a regular and non-elevated Command Prompt. Follow the steps below to get started.
  • You have to create a script file named “MapDrives.cmd” first and then save it on a place where the files are safe. To do that, open a text editor like Notepad and then copy and paste the following script:
PowerShell -Command "Set-ExecutionPolicy -Scope CurrentUser Unrestricted" >> "%TEMP%StartupLog.txt" 2>&1 PowerShell -File "%SystemDrive%ScriptsMapDrives.ps1" >> "%TEMP%StartupLog.txt" 2>&1
  • After that, save the file and name it “MapDrives.cmd”.
  • Next, create a script file named “MapDrives.ps1” and then copy and paste the following content. Just make sure to save both scripts in the same folder.
$i=3 while($True){     $error.clear()     $MappedDrives = Get-SmbMapping |where -property Status -Value Unavailable -EQ | select LocalPath,RemotePath     foreach( $MappedDrive in $MappedDrives)     {         try {             New-SmbMapping -LocalPath $MappedDrive.LocalPath -RemotePath $MappedDrive.RemotePath -Persistent $True         } catch {             Write-Host "There was an error mapping $MappedDrive.RemotePath to $MappedDrive.LocalPath"         }     }     $i = $i - 1     if($error.Count -eq 0 -Or $i -eq 0) {break}     Start-Sleep -Seconds 30 } Note: Now that you’ve created the script files, it’s time for you to proceed to the options given below.

Option 1 – Try creating a startup item

Note that this option only works on devices that have network access at login. So if it’s not there, the script will fail to reconnect the network drivers automatically. To create a startup item, here’s what you have to do:
  • Open the Startup folder located at %ProgramData%MicrosoftWindowsStart MenuProgramsStartUp.
  • From there, copy and paste the MapDrives.cmd.
  • After that, open the Scripts folder located at %SystemDrive%Scripts copy-paste MapDrives.ps1 and then copy and paste MapDrives.ps1 in there.
Note: After you complete the steps above, a log file named “StartupLog.txt” will be created in the %TEMP% folder. Now all that’s left for you to do is to log out of your computer and then log back in. This will ensure that the mapped drives are open.

Option 2 – Create a scheduled task

It is possible to create a scheduled task that runs as soon as you log in to your computer. To create a scheduled task, follow the steps below.
  • You have to copy the MapDrives.ps1 script file to the scripts folder of Windows located at %SystemDrive%Scripts.
  • After that, open the Task Scheduler and select Action > Create Task.
  • Next, type a name and description of the task in the General tab.
  • Then click on the Change User or Group button and select a local user group and click OK.
  • Now check the box labeled “Run with highest privileges” and switch to the Triggers tab.
  • From there, create a new trigger with the “At Logon” option in the Begin the task drop-down menu and then click OK.
  • After that, switch to the Actions tab and create a new action then choose to Start a program.
  • Next, type “Powershell.exe” in the Program/Script field, and in the Add arguments (optional) field, type the following:
-windowsstyle hidden -command .MapDrives.ps1 >> %TEMP%StartupLog.txt 2>&1
  • And in the Start in the (optional) field, type “%SystemDrive%Scripts” as the location of the script file.
  • Now under the Conditions tab, select the “Start only if the following network connection is available” option and then select Any connection and click OK.
  • Restart your computer or log off from your account and then log back in so that the task will be executed.

Option 3 – Use the Group Policy settings

You need this option if the mapped network drives are defined via Group Policy settings. You have to update the action of the drive maps to Replace. As a result, it will delete the existing mapped drive and create the mapping on each logon again. However, any settings on the mapped drive that are changed from the Group Policy settings will be gone on each logon. So if the changes don’t work, you need to run the gpupdate command together with the /force parameter in order to refresh the Group Policy setting quickly.
Read More
The PrintNightmare vulnerability finally fixed
PrintNightmare vulnerability has been a struggling issue for Microsoft in the past weeks, each time it seems to be addressed and fixed something new popped up and it still had issues. Microsoft finally addressed the issue but with a price. The default behavior of Point and Print is changed. From this fix onward, the Point and Print driver installation and update behavior will require administrator privileges, which should prevent the exploit to the Windows Print Spooler that could be used by malicious individuals to gain administrative privileges in Windows. The drawback of this fix from Microsoft is that non-elevated users may have difficulty adding or updating printers. Microsoft feels that the security risks caused by PrintNightmare are worth the tradeoff, though. If you really want to let non-elevated users add printers, you can follow the instructions in this Microsoft Support article to disable this mitigation with a registry key. However, doing so will expose you to this known vulnerability and isn’t recommend.
Read More
Enable or Disable Auto-Mounting in Windows
Every time a new drive or any storage device is connected to a Windows 10 computer, the operating system tends to allot a drive letter to it automatically. Not only that, as the OS also maps the location of the drive which helps it point the letter to the exact port location of the drive and serve requests from the user. As a result, it builds up a bit of cache as per the pattern in which the user uses the storage of the computer. This whole process is known as “Auto Mounting” which works for hard disks or optical drive readers that are connected using the SATA ports and even for USB drives that are connected using the USB ports. There are several ways you can enable or disable the Auto-Mount feature in Windows 10. You can do it using the MountVol tool or the Registry Editor or the Diskpart utility. Before you proceed, it is recommended that you create a System Restore point first so that you can always undo the changes you made in case anything goes wrong.

Option 1 – Enable or disable Auto Mounting via MountVol tool

In this option, you will be using the mountvol command in the Command Prompt. Refer to the steps below.
  • Tap the Wins key once and type in “command prompt” in the field.
  • From the search results, right-click on Command Prompt and select the “Run as administrator” option to run it with admin privileges.
  • Next, type the following command and tap Enter to enable the Auto Mount feature:
mountvol /E
  • On the other hand, if you want to disable the Auto Mount feature, type the following command instead:
mountvol /N
  • After that, type the command below to remove all the previously assigned drive letters:
mountvol /R
  • Finally, restart your computer.

Option 2 – Enable or disable Auto Mounting via Registry Editor

  • Tap the Win + R keys to open the Run dialog box.
  • Then type “Regedit” in the field and tap Enter to open the Registry Editor.
  • After that, navigate to this registry key: ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesmountmgr
  • Next, look for a DWORD named “NoAutoMount”. If you can’t find a DWORD with that name then simply create a new DWORD with the same name and make sure that the base is selected to Hexadecimal.
  • Now double click on that DWORD and change its value to 0 if you want to enable it, otherwise, input 1 as its value to disable it.
  • Restart your computer.

Option 3 – Enable or disable Auto Mounting via Diskpart utility

  • Tap the Wins key once and type in “command prompt” in the field.
  • From the search results, right-click on Command Prompt and select the “Run as administrator” option to run it with admin privileges.
  • After opening Command Prompt as admin, type the following command and hit Enter to launch the Diskpart utility:
diskpart
  • After that, a User Account Control prompt will appear. Just click on the Yes button.
  • Next, type the following command and hit Enter:
automount
  • Following the command you entered, you will an output that either says, “Automatic mounting of new volumes enabled” or “Automatic mounting of new volumes disabled” which means you can use it to check the status of Auto Mount.
  • Now if you want to enable the Auto Mount feature, type the following command and tap Enter:
automount enable
  • And if you want to disable the Auto Mount feature, just enter the following command:
automount disable
  • To remove all the assigned letter and history of drives that were connected previously, type the following command:
automount scrub
  • Finally, restart your computer.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status