Brave and Vivaldi are blocking google FLoC

FLoC is Google’s alternative to third-party cookies and is based on machine learning. This will allow the browser, any browser, to anonymously study how users are browsing and then group them into ‘cohorts’. Following this, you will be served ads based on your cohort and not on your individual data. So, you are still going to be targeted with ads but in a more anonymous manner.

Google claims that this will improve user privacy since this “federated learning” happens on the user’s device and artificial intelligence-based learning involves sharing lesser users than what happens with third-party cookies. If something like this gets widely adopted by ad companies and services, it should “protect users” from tracking methods that are more intrusive than third-party cookies, like browser fingerprinting.

Who is against it?

Privacy-focused browsers DuckDuckGo, Brave, and Vivaldi have all warned users against FLoC and have said that they are going to block it on their end.

Brave says that Google FLoC has a design that does not respect the customer’s privacy and consent. It has been designed to provide browsing behavior and interest data with any website that users may interact with, and this process does not involve fully informed consent.

Vivaldi, another popular Chromium-based web browser, has also made its stance clear regarding the status of FLoC. The company said in a Reddit thread that the FLoC experiment does not work in Vivaldi. It happens because for FLoC to work, some features need to be enabled under the hood, but Vivaldi does not provide those options. The company also added that it plans to stop the entire FLoC component from being a part of the browser, regardless of how Google may implement it. Considering that Brave and Vivaldi have been privacy-focused browsers since their beginnings, the decision to stay away from FLoC is not surprising.

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

Windows 10 isn’t activated after upgrading for free

Error Code “Windows 10 isn’t activated after upgrading for free” – What is it?

Windows 10 isn’t activated error occurs when Windows users attempt to upgrade to Windows 10 for free and end up in a non-activated state. It is a Windows 10 activation error affecting PC owners who attempt to upgrade their Windows 7 or Windows 8.1 operating systems. A message box will appear with the following message: “Windows 10 isn’t activated after upgrading for free from Windows 7 SPI or Windows 8.1 update.”

Common symptoms of this error code include the following:

  • Inability to upgrade for free to Windows 10
  • The appearance of activation error code in the message box

Solution

Restoro box imageError Causes

To understand the cause of this activation error, users will need to understand activation within Windows. Activation is a process that allows Windows to verify that you are upgrading your operating system based on the Microsoft Software Licensing Terms. These terms specify, for instance, the number of devices upon which you can use Windows.

Once you have a genuine copy of Windows and you are following the terms mentioned earlier, you should be able to activate and complete the upgrade to Windows 10. However, the activation fails when these conditions are not met. Note also that the error may occur if users fail to upgrade to Windows 10 before reinstalling, requiring them to repeat the installation process by first going back to the previous version of Windows present on their system. Once the upgrade process is not done as should, you might encounter other Windows 10 errors such as error code 0xc0000142

If you see this error code, “Windows 10 isn’t activated after upgrading for free” proceed to rectify it using manual repair methods below.

Further Information and Manual Repair

To fix this activation error code in Windows 10, users will need to employ at least one manual repair procedure. This process can successfully be completed by non-technical Windows users. However, you may also consider getting assistance from a Windows repair technician if you are not certain you have the requisite skills needed to complete the manual repair tasks below.

The main methods to resolve the error code “Windows 10 isn’t activated after upgrading for free from Windows 7 SPI or Windows 8.1 update” is as follows:

Method One: Manually Activate Windows

If you attempted upgrading for free to Windows 10 and ended up with the activation error you will need to first perform a manual activation. Follow the steps below to complete the process.

  • Step one: Tap or click the Start button
  • Step two: Select Settings then Update & security
  • Step three: Select Activation
  • Step four: Once activation status is Connect to the Internet to activate Windows, click or tap Activate

The steps above enable users to successfully activate Windows 10 if the issue involves a connection problem. However, if Windows is not activated, it may mean your copy of Windows is not genuine. This may require you purchase a copy of Windows to rectify the issue. However, if you have a genuine copy of Windows proceed by applying the steps found in method two.

Method Two: Use Product Key to Verify Copy of Windows

A valid product key is one way you can verify your copy of Windows is genuine. This will enable you to complete activation and allow you to access the free upgrade to Windows 10. Follow the steps below.

  • Step one: Click or tap the Start button
  • Step two: Select Settings then Update & security
  • Step three: Click Activation
  • Step four: Select Change Product Key then type in the product key. (Ensure you type the 25 characters in the correct order.)

Method Three: Use an Automated Tool

Error codes in Windows often occur due to poor maintenance of one’s PC. To improve your system and reduce your machine’s risk of experiencing error codes, download a powerful automated tool. This tool is both powerful and user-friendly, making its benefits accessible to even the most non-technical Windows users.

Read More
Diagnosing your PC/Preparing Automatic Repair
Windows 10 is has a lot of features that help a user in optimizing a computer. So when the operating system encounters a problem, it is able to provide users with proper resources to get the problem fixed. There are even times when a user is not notified and an issue is either being repaired or dodged in the background. This kind of feature is known as the Diagnosis of the Automatic Repair feature that starts when your computer is booting. In such times, you will either see the “Diagnosing your PC” or “Preparing Automatic Repair” message on your screen. Although this feature is useful and has proven to be effective, some users reported that the process gets stuck. If you experience the same problem, read on as this post will guide you on what to do to fix it but before you start troubleshooting the problem, you might want to perform a Hard Boot first. All you have to do is to power down your computer, remove the battery and the AC adapter and then reconnect them. After that, tap and hold the power button for about 20 seconds and see if your computer boots up properly. If it doesn’t, follow the given fixes below.

Option 1 – Try disabling the automatic Startup Repair

The Automatic Startup Repair window will automatically open during boot when you have some system driver-related problem. So if you think that this is where the problem lies, you can try to disable the automatic Startup Repair.
  • Click on Troubleshoot and go to the Advanced options.
  • After that, select Command Prompt and execute the following command:
bcdedit /set recoveryenabled NO
  • Restart your computer after that and then check.

Option 2 – Run the System File Checker

System File Checker or SFC is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files to good system files that might be the cause why you’re facing this problem. To run the SFC command, follow the steps given below.
  • Type “cmd” in the Start search and then right-click on the appropriate search result.
  • Next, select “Run as administrator” to open Command Prompt with admin privileges.
  • After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. Windows Resource Protection found corrupt files but was unable to fix some of them.
  • Now restart your computer and see if the problem is fixed or not.

Option 3 – Run CHKDSK to check your disk for errors

When it comes to some issues concerning the hard drive or removable devices, there is a utility in Windows that might help which is called “chkdsk”. This error check utility can help with several issues in the system.
  • Tap the Win + S keys to open the Search box.
  • Then type “command prompt” in the field and from the search results that appear, right-click on Command Prompt and select “Run as administrator”.
  • After opening an elevated command prompt, copy and paste the following command and hit Enter:
chkdsk /r /f
  • Now if you are prompted to run CHKDSK after your reboot your computer, just tap Y and reboot your PC.
  • If CHKDSK is not able to find any errors, tap the Win + E keys and navigate the access window. From there, right-click on the concerned drive and click on Properties.
  • After opening Properties, click on the tab Tools and then click on the “Check” button under the Error-checking section.
  • Wait until the process is completed and then restart your computer.
  • Once your computer has restarted, try accessing the file and check if the error persists.

Option 4 – Run the DISM tool

The next thing you can do is run the DISM tool. This tool is known to repair potentially corrupted files in your system as having them could also system issues like your computer getting stuck in the “Diagnosing your PC” or “Preparing Automatic Repair” screen.
  • Tap the Win + X keys and click on the “Command Prompt (Admin)” option.
  • After that, input each one of the commands listed below sequentially to execute them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • Dism /Online /Cleanup-Image /RestoreHealth
  • Once you’ve executed the commands given above, restart your computer and check if the problem is now fixed.

Option 5 – Try to use installation media to boot and repair your computer

Another thing you can try to resolve the issue is to use the Windows installation bootable media so you can boot and repair the operating system. To use it, follow these steps:
  • You need to first create an installation media which has the dame version of the operating system installed in your computer.
  • After that, once you reach the Install Windows screen, click on the “Repair your computer” link.
  • Wait until the repair is completed and then shut down your computer
  • Now once your computer has restarted, check if it can now boot properly.
Read More
Could not connect to the System Event
Could not connect to the System Event explanation: Although logging into a Windows 10 computer may seem like a simple process, it’s actually not since the Windows operating system has built a mechanism in a way that any third party or malware intervention would not compromise access to the system. This mechanism is supported by numerous services, functions, and DLL files. And Microsoft has been taking this security to a whole new level with the introduction of Windows Hello. Recently, a number of users reported getting the “Windows could not connect to the System Event Notification Service service. Please consult your system administrator” error when logging into their computers. While some users also reported that although they can log in, they encounter the same error message from the Notification area. There are several options you can check out to resolve the error. You have to check the status of several Windows Services and make sure that they are running. You also have to reset Winsock as well as run the System File Checker scan.

Option 1 – Check for certain Windows Services

  • First, you need to tap the Win + R keys on your keyboard to open the Run dialog box.
  • Next, type “services.msc” in the field and click OK or tap Enter to open the Windows Services Manager.
  • After that, you will see a list of services and from there, look for the following Windows Services:
    • DHCP Client
    • System Event Notification Service
    • Windows Font Cache Service
  • Now make sure that the Startup Type of each service is started and running.

Option 2 – Try resetting the Winsock drivers

  • In the Start Search, type “command prompt” and right-click on Command Prompt from the search results, and then select the “Run as administrator” option.
  • After opening Command Prompt, execute this command: netsh winsock reset
Note: If you are using IPv4, execute the “netsh int ipv4 reset” instead. On the other hand, if you are using IPv6, execute the “netsh int ipv6 reset
  • Now exit Command Prompt and see if the error is now fixed.

Option 3 – Try running System File Checker or SFC scan

You could also run System File Checker or SFC scan to fix the BSOD error. It is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files with good system files. To run the SFC command, follow the steps given below.
  • Tap Win + R to launch Run.
  • Type in cmd in the field and tap Enter.
  • After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. Windows Resource Protection found corrupt files but was unable to fix some of them.
  • Reboot your PC.
Read More
Office 2021 release date set for October 5th
Microsoft-Office-2021-1024x425Microsoft office has two major packages, an online one, and an offline version. The online version of the course is Office 365 that requires a monthly subscription and it is always regularly updated and maintained. Another version is more of a typical old school application, install it and use it, no constant internet connection is required and no monthly subscription is required, buy once and use it. The last version of buying it once and use it was Office 2019 and after two years we are going to receive a new version soon. Microsoft has set its release date for October 5th of this year and as always it will feature the current latest version of office applications and one-time purchase. The new office will support dark mode and other improvements tied to the new Windows 11 and some specific features tied to Office itself.
Read More
Microsoft Office Windows 11 edition
Microsoft has officially announced details about the newest upgrades to its office 365 suite moving forward along with its new OS release. It seems that Microsoft has listened to its user base and feedback since Word, Excel, and PowerPoint are getting much-needed redesign taking into account many suggestions from the community. The new office should feel more like an application suite guiding focus on the interconnection of applications themselves providing users with a much more natural experience of using them.

The new office features so far

From Microsoft themselves:
“This Office visual refresh is based on feedback from customers who asked for a more natural and consistent experience within and between your applications, specifically on Windows. With this update, we deliver an intuitive, coherent, and familiar user interface, using the Fluent Design principles, across all your applications: Word, Excel, PowerPoint, OneNote, Outlook, Access, Project, Publisher, and Visio. We aligned this visual refresh with the design of Windows 11 to provide seamless experiences on your PC.”
It is always refreshing to hear when a company listens to its user base and actually does what is needed instead of trying to invent the wheel.

office appsHow to switch

Since beta is already rolling and if you have an active 365 subscription to office suite visual refresh will be automatically available to all Office insiders running beta channel builds. It can be turned on and off using the coming soon feature in the top right corner of the menu in any application. Just click on the megaphone icon to open the coming soon pane and apply settings to all office apps. Note that The Coming Soon feature is not available in Access, Project, Publisher, or Visio. If you turn on the visual refresh in any of the 4 apps mentioned above (Work Excel, PowerPoint, or OneNote), it will also be available in these 4 apps.

Difference themselves

The Home tab menu still has a familiar look with a few tweaks. For example, accessing frequently used Word commands will be a lot easier. By navigating to Designer > Show Quick Access Toolbar, users can add a customizable shortcut ribbon to Word that houses conveniently placed options. Also, the office will not match your Windows operating system color theme so if you have a dark theme enabled, the office will also have a dark color theme. Color palettes are more neutral, corners are a bit softer but customizable ribbons are a win here for me.

office dark modeConclusion

There was not much said other than visual upgrades and small tweaks that were supposed to make your life easier but then again Windows 11 itself is in the same boat. I am not sure if this is a great update offering just some visual tweaks and focus on workflow mechanics or just being plain lazy and trying to cash in visuals as a completely new product.
Read More
How to Fix Logon.scr Application Error

Logon.scr Application Error - What is it?

To understand Logon.scr application error, it is first important to understand the function of logon.scr. Logon.scr is an important file that is located in the Windows\System32 folder. It guarantees Windows systems stability. Logon.scr application error occurs when logon.scr file gets corrupt. It is a common system error that can happen in most Windows platforms. It usually pops up during system start-ups and when trying to launch certain programs. Some of the common systems of this error code include: system halt, freeze, no application icons are visible on the desktop, random blue screen of death and system performance decreases dramatically.

Solution

Restoro box imageError Causes

Two of the most common causes of logon.scr application error is:
  • Corrupted and damaged logon.scr file
  • Viral infection
It is advisable to fix this error code immediately because it leads to serious damages. It is fatal and can result in a system crash; therefore resolve it right away.

Further Information and Manual Repair

To resolve this issue on your computer you don’t have to spend hundreds of dollars to hire a professional for the job. The good news is that it can be repaired easily and does not require any technical expertise. Here are some of the most effective and easy DIY methods to resolve the error on your screens.

Method 1 - Replace the Damaged and the Corrupted Logon.scr File

Whether the file gets corrupted or is accidentally deleted, the best way to fix the issue is to download the Logon.scr file again from a reliable website and install in the following location C:\Windows\System32. Alternatively you can also get the file copy form another proper functioning computer by using flash drive if you don’t have an internet connection to download the logon.scr file online.

Method 2 - Restore Points by Applying System Restore of Windows

Another way to resolve this is to restore points to bring back your system to the previous state before the error occurred. To do this, simply click the start button and type ‘System Restore’. Now click System Restore in the result and click next. Select the restore point in the list and click the next button to proceed. To activate changes reboot your PC.

Method 3 - Scan and Remove Viruses

If Logon.scr application error still persists, then it could be due to viruses. To resolve, install a powerful anti-virus. Scan your entire PC and remove viruses.

Method 4 - Repair the Registry

Corrupt and damaged Logon.scr file also triggers issues with the registry. DLL files and other important files like Logon.scr application files may get damage due to too many bad and invalid registry entries. Registry stores all the activities performed on the PC including unnecessary files like junk files and cookies. If these are not removed timely, these files accumulate and corrupt important files. Therefore, to fix the error it is advisable to clean and repair the registry. The best way to go about is to download Restoro. This is a user-friendly and multi-functional PC Fixer deployed with a registry cleaner. It scans for all registry errors and removes all the invalid entries. It cleans the registry and repairs the damaged files thereby resolving the issue in seconds. Click here to download Restoro and resolve the Logon.scr application error now!
Read More
Fix Dism.exe error 1392 in Windows 10
Dism.exe error 1392 is usually displayed whenever a file or directory is corrupted, and unreadable. The location specified in the error message states that some temporary files are corrupt. Since the files are only temporary, you could delete the mentioned file in the error message and check if the issue persists. The error is caused by missing system files or broken corrupt data, which should be fixed as soon as possible. Taking action should prevent further hardware and app damage, as this can lead to system crashes, data loss, or hardware failure in most cases.
  1. Temporarily disable the antivirus program

    Antivirus applications are well known that they can detect certain things as false positives and quarantine them or cut their system access, to make sure that this is not the case in this situation, disable your antivirus and try the operation again.
  2. Perform an SFC scan

    Press ⊞ WINDOWS + X to open the windows menu Click on Command prompt (admin) In the command prompt window type: sfc /scannnow and press ENTER Wait for the operation to complete Reboot
  3. Run Check disk to check and fix disk errors

    Press ⊞ WINDOWS + X to open the windows menu Click on Command prompt (admin) In the command prompt window type: chkdsk /f c: where c: is hard drive with issue and press ENTER
  4. Scan your computer for malware

    Malware and other malicious software can be a problem for this type of behavior, run your security's software scan on the whole system and remove any found malware.
  5. Perform a system restore

    If anything else failed run system restore and bring Windows back to a date when everything was working fine.
Read More
Mouse automatically scrolls up or down
Microsoft has implemented a number of small features in Windows 10 to enhance user productivity. These features make a difference in the overall experience and productivity of users. However, there are times that instead of helping users, these small feature causes some issues instead which causes the computer to function in an unusual way. One of the issues caused by these features is where the Mouse automatically scrolls up or down even without any user intervention. This can get really annoying especially when you’re doing an important task on your computer. So if this bug takes place repeatedly, it can make your computer unusable. If you are currently facing this problem, worry not for this post will guide you on what to do to fix the mouse auto-scrolling issue in your Windows 10 computer. Use the options provided below to fix the mouse auto-scrolling issue.

Option 1 – Try to toggle the appropriate Mouse 10 setting

  • Tap the Win + I keys to open the Settings app.
  • After that, navigate to Devices > Mouse.
  • From there, toggle the “Scroll inactive windows when I hover over them” setting to off.
  • Now restart your computer and see if the issue is resolved.

Option 2 – Try to uninstall the installed Windows Updates recently

The mouse issue might have something to do with a recent update you have installed on your computer. It is possible that there are some recently installed updates that have messed up some settings in your computer. Thus, you can try to uninstall this recent Windows Update to try and fix the problem. Not that the best way to do this is in Safe Mode.
  • Boot your computer into Safe Mode first.
  • Once your computer has restarted, tap the Win + I keys to open the Settings app.
  • Next, click on Update and Security, and from the left side menu column, select Windows Update.
  • After that, select the “View installed update history” option on the right-side column.
  • Then click on Uninstall Updates. This will open a window where you’ll see the list of all the installed updates on your computer.
  • Select the update you want to uninstall and click on the Uninstall button located in the lower-right corner of the window.

Option 3 – Try to run System Restore

You might have made some adjustments in your computer’s settings that caused the issue with the mouse. You can undo those changes using System Restore.
  • Tap the Win + R keys to open the Run dialog box.
  • After that, type in “sysdm.cpl” in the field and tap Enter.
  • Next, go to the System Protection tab then click the System Restore button. This will open a new window where you have to select your preferred System Restore point.
  • After that, follow the on-screen instructions to finish the process and then restart your computer and then check if your mouse is now back to its normal state.
Read More
Fix Chrome ERR_SOCKET_NOT_CONNECTED
Recently, a number of users reported an error in Google Chrome that says, “ERR_SOCKET_NOT_CONNECTED”. If you are one of these users, read on as this post will guide you in resolving this error. This kind of error in Chrome is kind of vague so it could be caused by a couple of factors like DNS server issues, Socket Pools, third-party plugins or extensions, and many more. Whatever the cause may be, there are several options you can check out to resolve the problem. You can try to flush the Socket Pool or change the DNS address or remove unwanted extensions or reset your Google Chrome browser.

Option 1 – Try to flush the Socket Pool

  • Open Google Chrome and in the address bar, type “chrome://net-internals/”.
  • After that, select Sockets on the left side panel.
  • Next, select Flush socket pools from the right-side panel.
  • And once it’s done, restart your Chrome browser and check if the “ERR_SOCKET_NOT_CONNECTED” is fixed or not.

Option 2 – Try to change the DNS Server

In this option, you can try changing your current DNS settings to the Google Public DNS as it could also help in fixing the “ERR_SOCKET_NOT_CONNECTED” error. To do so, follow the steps below.
  • The first thing you have to do is right-click on the network icon in the Taskbar and select Network and Sharing Center.
  • Next, click on the “Change Adapter Settings” option.
  • After that, search for the network connection that you are using to connect to the internet. Note that the option might be “Wireless Connection” or “Local Area Connection”.
  • Right-click on your network connection and click on Properties.
  • Then select the new window to choose the “Internet Protocol 4 (TCP/IPv4)” option.
  • After that, click on the Properties button and click the checkbox in the new window for the option “Use the following DNS server addresses”.
  • Type in “8.8.8.8” and “8.8.4.4” and click OK and exit.

Option 3 – Get rid of any conflicting browser extensions

  • Open Chrome and press Alt + F keys.
  • Go to More tools and click Extensions to look for any suspicious browser extensions or toolbars.
  • Click the Recycle bin and select Remove.
  • Restart Chrome and press Alt + F keys again.
  • Proceed to On Startup and mark Open a specific page or set of pages.
  • To check if the browser hijacker is still active, click Set pages, if it is active, overwrite the URL.

Option 4 – Try to reset Google Chrome

Before you proceed, make sure that the Chrome browser is not running anywhere in the background via Task Manager. Once you’ve made sure that it’s no longer running, refer to these steps:
  • Tap the Win + R keys to open the Run dialog box.
  • Then type “%USERPROFILE%AppDataLocalGoogleChromeUser Data” in the field and tap Enter to open this location.
  • From there, look for the Default folder and then tap the Shift + Delete button and if a confirmation prompt appears, click on Yes.
  • After deleting the Default folder, open Google Chrome and click on the three vertical dots icon located in the top-right corner to open the menu.
  • Next, click on Settings and scroll down and then click on Advanced to open the Advanced Settings.
  • Then scroll down until you see the “Reset and clean up” section and click the “Restore Settings to their original defaults” option.
  • After that, you will see a confirmation box and from there, click on the Reset settings button to reset your Google Chrome browser.
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
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