Showing posts with label Control Panel. Show all posts
Showing posts with label Control Panel. Show all posts

Saturday, September 18, 2021

How to fix the error, "Error writing to temporary file. Make sure your temp folder is valid"?

 This is quite a frequent error many folks are confronted with while installing some new software.  I encountered this problem trying to install Android Studio on my Windows 10 (x64).

What is Windows 10 controlled folder access?

Controlled folder access is an anti-ransomware feature in Windows 10 that helps protect your file system on your computer from modification by suspicious or malicious apps (especially ransomware). You should find this in "System Protection"

Controlled folder access in Windows Security reviews the apps that can make changes to files in protected folders and blocks unauthorized or unsafe apps from accessing or changing files in those folders.

Access the relevant feature page in the Control Panel as follows:

Select Start  > Settings  > Update & Security  > Windows Security > Virus & threat protection.

In Virus & threat protection settings, select Manage settings.

Under Controlled folder access, select Manage Controlled folder access.

Although I could have looked through other options for managing, I wanted something which was quick to test my hunch but it cannot be a permanent solution.

I took a calculated risk. chose to switch the access to OFF temporarily. I then initiated the install process for the Android Studio and when it was installed, I switched the protection ON. 

I did not get any more notifications and the software was installed successfully.

What folders are protected?

In the above image, you can click on Protected folders to review them. Here is a partial list.



Thursday, December 21, 2017

What is Windows IP over USB?

It is a Windows Service that you find in Control Panel...Services window. It is needed to be running if you are developing for Windows Phone.

It enables communication between the Windows SDK and a Windows Device. If the service is stopped, application deployment and debugging will fail on the device.

If it is not started, you should start it from the Control Panel. When it is running you should see the process in the Windows Task Manager.


You can start and stop the service in the above Services screen in Windows.


Monday, June 12, 2017

How to make thumbnail show instead of image file icons in Windows Explorer?

Depending on your settings in the Control Panel instead of thumbnails in the Windows Explorer you may be seeing the icon of image program that opens the image.

You can make changes in the Control Panel to change this. Watch this slide show.

https://www.youtube.com/watch?v=uZ4fTHndHuA

Monday, April 25, 2016

How do you install Hyper-V on Windows 10?

Actually Hyper-V is installed on Windows 10 and you need to activate it.

Before you configure a virtual machine, you must enable the Hyper-V role. You can do it in the Control Panel as shown below; using a Windows Powershell Commandlet; or DISM. Only the Control Panel method is described.

Step 1:
You do so by following this: Control Panel > Programs > Programs and Features

Step 2:
Click on Turn Windows Features on or off to turn on.
Windows Features window gets displayed.

HyperV-00

Step 3:
Place check mark for all items of Hyper-V as shown.

HyperV-01

Step 4: Click OK and reboot the computer
You are done.

Now you go and create a Virtual Switch!

Friday, May 15, 2015

How do you enable Hyper-V in Windows 8.1?

In case you want to run more than one operating system on your PC you may want to use Hyper-V. You can run both 32bit as well as 64 OS.

Hyper-V is included in Windows 8.1 Professional. It is quite easy to enable Hyper-V.  It is very similar to Windows Virtual PC on Windows 7. Hyper-V is needed for Windows 8 Emulator .

Right click Start on Desktop__>;Control Panel-->;Programs-->;Select 'Turn Windows features on or off'
In the Windows Features window displayed place check mark for Hyper-V as shown and enable both Hyper-V GUI Management Tools and the Hyper-V Module for Windows PowerShell.



That is all there is to it.
The above image is captured on a Windows 8.1 Professional on a Toshiba S70 Series laptop.

Friday, April 10, 2015

How do you create a User Login with Windows Authentication using Power Shell?

This post describes step-by-step of creating a login for SQL Server 2008 using the SQL Server Management Studio. The same procedure applies to other versions as well.
http://hodentekhelp.blogspot.com/2008/09/how-do-i-create-new-login-for-sql.html

The following shows how you may do this using Power Shell.

Step 1:
In order to do create a login using Power Shell either use an existing Windows User or create a new user for Windows. You can create a new user to Windows desktop or Laptop as shown here.
http://hodentekhelp.blogspot.com/2015/04/how-do-you-create-windows-user.html

Step 2:
Launch Power Shell for SQL Server by executing SQLPS. If you want to know how to do this reivew this link here:
http://hodentekmsss.blogspot.com/2014/08/how-do-you-use-sql-server-powershell.html

Step 3:
After you complete the above step you should be on this line in your Power Shell console (The computer is running Windows 8.1 Profesisonal and the version of Power Shell is 4.0).

Microsoft SQL Server PowerShell
Version 11.0.2100.60
Microsoft Corp. All rights reserved.

PS SQLSERVER:\>

Now declare an instance of SQL Server using the following:

PS SQLSERVER:\> $server = new-Object Microsoft.SqlServer.Management.Smo.Server('Hodentek8\RegencyPark')

Now declare a user UserX using New-Object.. syntax.

PS SQLSERVER:\> $SqlUser = New-Object -TypeName Microsoft.SqlServer.Management.Smo.Login ('Hodentek8\RegencyPark','Hodentek8\UserX')

Here Hodentek8(host) is the name of the computer; RegencyPark is the name of the instance and UserX is the name of the user.

Choose Windows Authentication using the following command and create the login using the following:

PS SQLSERVER:\>SqlUser.LoginType='WindowsUser'

At this point you should have the computer user called UserX for your computer otherwise you will get this error.
-------------
PS : A positional parameter cannot be found that accepts argument '$null'.
At line:1 char:3
+ PS <<<<  SQLSERVER:\> $SqlUser.LoginType='WindowsUser'
    + CategoryInfo          : InvalidArgument: (:) [Get-Process], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.GetProcessCommand

------------------------
Now create this login by this:

PS SQLSERVER:\>$SqlUser.create()

This completes the steps to create a New User Login which you can verify in SQL Server Management Studio as shown here:

















Some interesting posts can be found here:
http://hodentekPlus.blogspot.com