windows-10 interview questions
Top windows-10 frequently asked interview questions
I had been using Windows 8 and TortoiseSVN icons have been displaying properly, but after installing Windows 10 I can no longer see the icons for the files/folder status.
Source: (StackOverflow)
I decided to try Windows 10, but having problem to make terminal works inside WebStorm/PhpStorm.
When I open terminal, sometimes it's completely black, sometimes it loads the project folder but I cannot type there. There is a way to run it in the external window, but I just got accustomed to work with console like internal window inside WebStorm/PhpStorm...
I tried cmd, Power Shell - same results.
Any ideas?
Source: (StackOverflow)
In a Delphi application, when you hover over a border icon, e.g.:
- Minimize
- Maximize
- Restore
it doesn't behave correctly:
Compare to an application that does behave correctly:
Step to Reproduce
- Click File, New, VCL Forms Application - Delphi
- Click Run (F9)
- Hover over the Minimize, Maximize, or Close buttons.
How to fix?
- Windows 10, 64-bit (running natively on desktop PC)
- Delphi XE6
Edit - It also fails with Delphi 7:
and in Delphi 5:
and in Delphi 4:
I assumed (i.e. was afraid) that it was caused by the ThemeServices engine; where they might have thought it was cool to not honor the user's preferences. But looks like it's something more fundamental.
Compatibility Modes
- none: fails
- Windows 8: fails
- Windows 7: fails
- Windows Vista (Service Pack 2): fails
- Windows Vista (Service Pack 2): fails
- Windows Vista: fails
- Windows XP (Service Pack 3) (non-client area theming disabled): works
- Windows XP (Service Pack 2) (non-client area theming disabled): works
- Windows 98 / Windows Me (non-client area theming disabled): works
- Windows 95 (non-client area theming disabled): works
Skype
Also fails in Skype; also written in Delphi:
High DPI is the trigger
I finally figured out why it fails on every Windows 10 machine i've used; but not for everyone. High dpi.
Set your dpi to 97 (101%) or higher.
Close Enough
Dalija's solutions works:
We'll ignore the problem with the tooltip and live to fight another day.
It should also be noted that Windows 10 will suggest that you might have to sign off and sign back on for some applications to work correctly after changing the DPI. This is definitely true of Delphi.
It should also be noted that Delphi doesn't tolerate the DPI changing behind its back like this. This includes adjusting the zoom slider. This would also include placing the app on any monitor besides the primary monitor.
And we never did figure out what the problem is; only kicked it down the road for users running multiple monitors.
Source: (StackOverflow)
I have an error while trying to start universal App for Windows 8 in simulator.
Using Windows 10 build 10130 with all latest updates and Visual Studio 2015 Community Edition:
Windows Simulator needs your credentials. Please lock this computer
then unlock it using your current password and run the Windows
Simulator again. To lock your computer, press CTRL-ALT-DEL and the
press Enter
By searching the Stackexchange I found a link to similar problem, but with previous version of VS/Windows and in different environment. Windows Store application + Simulation in MSVS 2013
MS solution for Windows 8 is also not applicable in this case...
https://support.microsoft.com/en-us/kb/2892596
Maybe anyone is familiar with a problem?
Source: (StackOverflow)
I have a Windows Phone App, built for 8.1, and one of the tasks was a client-server certificate scenario. My app worked fine, I could send the client certificate and login to the server. However after upgrading to windows 8.10.14xxxx that was not possible. I took wireshark traces and it seems that the certificate is never send.
The content length of the message is 0.
I use HttpClient.SendAsync
(await) and HttpBaseProtocolFilter
to enter the certificate. It worked perfect before the upgrade.
Any idea? Is something broken?
First I am installing the pfx
async private void btnInstall_Click(object sender, RoutedEventArgs e)
{
//Install the self signed client cert to the user certificate store
string CACertificate = null;
try
{
Uri uri = new Uri("ms-appx:///certificates/test.pfx");
var file = await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync(uri);
IBuffer buffer = await FileIO.ReadBufferAsync(file);
using (DataReader dataReader = DataReader.FromBuffer(buffer))
{
byte[] bytes = new byte[buffer.Length];
dataReader.ReadBytes(bytes);
// convert to Base64 for using with ImportPfx
CACertificate = System.Convert.ToBase64String(bytes);
}
await CertificateEnrollmentManager.UserCertificateEnrollmentManager.ImportPfxDataAsync(
CACertificate,
"xxxxx",
ExportOption.Exportable,
KeyProtectionLevel.NoConsent,
InstallOptions.None,
"ClientCert1");
}
catch (Exception ex)
{
//;
}
}
Then I am calling the service
string serviceURL = "https://my.web.services";
Certificate cert = null;
CertificateQuery query = new CertificateQuery();
query.FriendlyName = "ClientCert1";
IReadOnlyCollection<Certificate> certs = await CertificateStores.FindAllAsync(query);
HttpBaseProtocolFilter bpf = new HttpBaseProtocolFilter();
//if you install the CA you don't need to ignore the ServerCertificate Errors
//bpf.IgnorableServerCertificateErrors.Add(ChainValidationResult.Untrusted);
if (certs.Count > 0)
{
cert = certs.ElementAt(0);
bpf.ClientCertificate = cert;
}
HttpClient httpClient = new HttpClient(bpf);
try
{
var response = await httpClient.GetInputStreamAsync(new Uri(serviceURL));
//take data
}
catch (Exception ex)
{
//0x80072F0D
}
I am always taking an excepting (0x80072F0D
) when running in 8.10.14xxxx
windows phone. My code worked before the update, now I am always taking this return code. The certificate is loaded in httpClient. When I stop the app with the debugger it seems that the certificate is there, however the 0x800072F0D
probably means that the certificate is not sent???
There is an intermediate certificate authority in the scenario. That certificate is included in the pfx. Do I need to install this somehow?
Source: (StackOverflow)
I recently upgraded to Windows 10 and JavaFX code which worked in Windows 8.1 appears to freeze up in 10. I've tracked the issue down to opening a ComboBox within a dialog. This appears to freeze any JavaFX program. Does anyone else have the same issue? (Windows 10 computers are still few and far between so would be good to confirm bug is indeed JavaFX issue)
I have attached example code below. The ComboBox in the main stage is fine but when I open a dialog and try and use the ComboBox there, the whole thing freezes. I'm using Java 8u51 in Eclipse 4.4.0
package javafxExamples;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ChoiceDialog;
import javafx.scene.control.ComboBox;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
public class ComboErrorTest extends Application {
String[] list={"Jamie", "Arthur", "Gordon"};
private Stage stage;
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage stage) throws Exception {
//create box in main stage.
ComboBox<String> comboBox=new ComboBox<String>();
for (int i=0; i<list.length; i++){
comboBox.getItems().add(list[i]);
}
comboBox.getSelectionModel().select(list[0]);
BorderPane pane = new BorderPane(comboBox);
pane.setPrefSize(400, 250);
//dialog bit
List<String> choices = new ArrayList<>();
choices.add("a");
choices.add("b");
choices.add("c");
ChoiceDialog<String> dialog = new ChoiceDialog<>("b", choices);
dialog.setTitle("Choice Dialog");
dialog.setHeaderText("Look, a Choice Dialog");
dialog.setContentText("Choose your letter:");
Button dialogButton=new Button("Open Dialog...");
dialogButton.setOnAction((action)->{
// Traditional way to get the response value.
Optional<String> result = dialog.showAndWait();
if (result.isPresent()){
System.out.println("Your choice: " + result.get());
}
});
pane.setBottom(dialogButton);
Scene scene = new Scene(pane);
stage.setTitle("ComboError Demo");
stage.setScene(scene);
stage.show();
}
}
Source: (StackOverflow)
This may be a little early to ask this, but I'm running Windows 10 Technical Preview Build 10122. I'd like to set up Cortana to have custom commands. Here's how she works:
Hey Cortana, <she'll listen and process this command>
Microsoft will process the command and if there isn't anything for it, she'll just search the input on bing. However, I'd like to be able to say something like, just for example
Hey Cortana, I'm going to bed now
And have the input I'm going to bed now
trigger run a batch script, a VBScript, a command, or any some sort some of custom response that basically does the following.
C:\> shutdown -s
Is there a way to set up a predefined custom commands for Cortana?
Update:
I created this basic YouTube tutorial and this more advanced one with a corresponding GitHub repo based on talkitbr's excellent and very helpful answer below.
At first his answer was beyond my understanding so I decided to break it down in a bit more detail for future users like myself.
Source: (StackOverflow)
I did a clean install of windows 10 and visual studio 2015 and did not find makecert.exe anywhere. Does some other software need to be installed to get this program back?
I looked in all the folders under "C:\Program Files (x86)\Microsoft SDKs\Windows\\" and did not see it in any.
I also opened the "Developer Command Prompt for VS2015" and tried running "makecert" but it was not found.
Source: (StackOverflow)
Don't know since when, but I was off work for a few days, and now Android Studio is wont to not let me type into the built in terminal.
I use Android Studio on my HP laptop with Windows 10 on top of it.
Here's a screenshot, as I click on it the cursor gets highlighted and starts blinking as usual but typing into it doesn't work anymore.
Well I have tried
- adding terminals,
- removing Terminals,
- deleting AS data, and
- even reinstalling AS completely
If anyone has got a solution, please assist.
Source: (StackOverflow)
I am using Intellij idea 14.1.3 latest community version. I am not able to type a single letter in the terminal. I am not getting whats the issue. Could anybody help me to solve the issue.
Source: (StackOverflow)
I used Visual Studio 2015 to develop mobile app with Cordova. Before I upgraded to Windows10, I was using Windows 7 and it worked perfectly fine. After I've upgraded to Windows10, whenever I open a Cordova project or create a Cordova project the Visual Studio hangs (not responding).
I have tried to reinstall the Visual Studio but it still hangs.
Anyone has faced this problem before?
Thanks
Source: (StackOverflow)
I just upgraded my laptop from Windows 7 to Windows 10 and found that I am unable to start Virtualbox VMs configured with a bridged adapter.
See the configuration below:
Source: (StackOverflow)
I want to install Visual Studio Ultimate 2013 on my Windows 10 but I have this error:
I have done these two things (they have solved the problem on Windows 8)
but still I cannot install it.
Source: (StackOverflow)
I've used Vagrant for a while on a windows 7 system. Now I've a new PC with windows 10. I installed Oracle Virtual Box and Vagrant and I try to start a machine with the command vagrant up.
The Vagrantfile is the same file that I used on my windows 7 system.
This is the content of the Vagrantfile:
Vagrant.configure(2) do |config|
config.vm.box = "debian/jessie64"
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--memory", "768"]
end
config.vm.provision :shell, path: "bootstrap.sh"
config.vm.network :private_network, ip: "172.27.146.17"
config.vm.hostname = "www.delevensstijl.hst1.nl"
config.hostsupdater.aliases = ["www.thelifestylemethod.hst1.nl"]
end
The error I get: "rsync" could not be found on your PATH. Make sure that rsync is properly installed on your system and available on the PATH.
Why is Vagrant looking for rsync since I use Virtualbox?
How can I workaround this error?
Source: (StackOverflow)