wds interview questions
Top wds frequently asked interview questions
Scenario:
Clients on VLANs X
DHCP server on VLAN Y
WDS server on VLAN Z
We have IP helper-address command on our layer 3 device for DHCP. I would like to avoid using DHCP options and instead add another IP helper-address command to point clients to WDS as well. Is this possible? I know having two IP helper-address commands will direct traffic to both IPs but will this work correctly if the WDS server is not also hosting DHCP services?
Source: (StackOverflow)
Where can I find documentation about WDS, specifically, using SQL queries from C# to query WDS? Are there any resources listing the columns that can be queried from the SystemIndex?
Additionally, I want the query to return the "context" i.e. just like the WDS client does with a few lines from the document where the search terms are found.
I am using WDS 4.0 although I believe that the API for 3+ is the same. I have checked MSDN and other sites with no luck.
Source: (StackOverflow)
Would it be possible through c# to actually do a windows search (the one you find in Vista from the menu with higlighting (e.g you write 'fire' and get 'firefox')).
Thanks :)
Source: (StackOverflow)
I'm working on a project where we're using Windows Desktop Search (WDS) to index files on a web share and then later allow the user to search via a website for documents in the share.
These documents are transferred to the share via FTP, however it would seem that either the computer never goes idle to index or at some point the indexing stops.
Is there a way from the command line or within the program itself to force this to happen without having to re-invent the wheel?
Using .NET 3.5 and C#.
Source: (StackOverflow)
I am trying to query the windows desktop search API using SQL.
I have to say I really HATE the windows 7 search GUI, and so I decided to write my own. I have a lot of files indexed (approx 1.000.000), and I want to do a search for names. Something like: Show me every name which contains "bunny".
But here i run into a performance problem. Searching for
"SELECT \"System.ItemPathDisplay\" FROM \"SystemIndex\" WHERE System.FileName LIKE 'egon%'";
is really fast. Also the %egon alternative. But %egon% takes forever. I am not sure if it is in the nature of the index (I understand that the possibilities increase enormously) or if I am doing something wrong...
Ok,
now my actual question: Is it correct that the windows index is only a big SQL database. If so, where can I find exact information about the structure of the DB (primary keys, indexes). If I have that, its basically just optimizing SQL.
Alternative question: Does anybody knows a fast SQL statement to find all files with egon somewhere in the name...
Chris
[Edit why I do not like the search GUI]
Well, its just not intuitive, compared to XP. If you disable the dog and use the old XP interface, I could create a search query like: All files older than 1 month, bigger than 10 MB, name pattern STAR_homework_STAR.docx - Try this in Windows 7 without "learning" the syntax. And hell, I do NOT want to learn another syntax just to find one file...
The other main problem are maybe my search habits. Most of the time I somehow know the file name (or parts) and simply want the location. And if you use the search this way you ran into several problem:
- First of all, you always have to prefix it with name:
- Then the folder name layout is stupid (it is ordering by parent folder, not full path, I THINK, because.. tada... see next point)
- Then, even more annyoing, if you have a list of results and you try to sort them, it takes forever...
And now I really think my system has a bug. I tried to quickly check it, searched in some average size folder for "test" and he found some files. Then I tried to sort them for folders (to verify my second point) and now he is just searching forever... I mean really, while I am typing he tries to find the word "hello"... oh, finished - he found approx 20 files. So, now, lets try something.... Ok, now it seems like he has recovered.. But still, to slow for my taste...
So, enough cursing about search :-)
Source: (StackOverflow)
I am trying to search a remote fileshare (running windows server 2008 R2)
for files that contain some text. If I try this, it works fine:
SELECT System.FileName
FROM RemoteServer.SystemIndex
WHERE SCOPE='file://RemoteServer/FileShare'
and I get lots of results. But as soon as I try to search for some text I get no results:
SELECT System.FileName
FROM RemoteServer.SystemIndex
WHERE SCOPE='file://RemoteServer/FileShare'
AND CONTAINS('a')
if I try it on my machine (Windows 7) it works fine:
SELECT FileName
FROM SystemIndex
WHERE CONTAINS('a')
Here is my c# code that I'm using to search:
string connectionString = "Provider=Search.CollatorDSO;Extended Properties=\"Application=Windows\"";
using (OleDbConnection myOleDbConnection = new OleDbConnection(connectionString))
{
myOleDbConnection.Open();
using (OleDbCommand myOleDbCommand = new OleDbCommand(sql, myOleDbConnection))
{
using (myDataReader = myOleDbCommand.ExecuteReader())
{
if (!myDataReader.HasRows)
{
System.Console.WriteLine("Query returned 0 rows!");
}
else
{
// Process results here
}
}
}
}
I have tried the following:
- Rebuilt the index
- Checked that the folder "FileShare" has been added on the server to be indexed
- Checked the "File Types" tab, that the correct extensions are ticked, and that "Index Properties and File Contents" is selected for those extensions
- Restarted the indexing service
- Restarted the server itself
to no avail.
Any other suggestions? Frustrating as I'm 99% of the way there. This whole windows desktop search seems to be pretty unsupported, maybe I should bin it and use something else?
Source: (StackOverflow)
I wish to execute a URL in the format
mapi://{S-1-5-21-1626573300-1364474481-487586288-1001}/toto@mycompany.com($b423dcd5)/0/Inbox/가가가가곕갘객겒갨겑곓걌게겻겨곹곒갓곅갩갤가갠가
, which I got from searching via Windows Desktop Search.
On Vista with Outlook 2007, this fails to open Emails if outlook is already open. Except sometimes, when it works for mysterious reasons.
Below are some things I've tried in an attempt to get this to work:
Executing it with Process.Start
, or executing it with Process.Start
via cmd.exe /c start. The former froze for a minute, then did nothing, with Process.Start
returning null (except when Outlook was not already open, when it worked). The latter popped up an "Unspecified Error" message box.
http://stackoverflow.com/questions/2400223/open-mails-in-outlook-from-java-using-the-protocol-mapi
I couldn't figure out how to get this script to work. The vbs scripts I generated claimed to have found invalid characters. Also, this solution makes me sad.
http://social.msdn.microsoft.com/forums/en-US/windowsdesktopsearchdevelopment/thread/00491710-e245-452f-8b0a-56caa56277e4/
I suspect this solution will work. However, I couldn't get it working in C++ or C# due to compiler errors. This is a matter of not being sure which libraries to include or in C# how to effectively use ShellItem2
etc. with interop.
http://stackoverflow.com/questions/234231/how-do-you-create-an-application-shortcut-lnk-file-in-c-or-net
I tried creating a shortcut and calling Process.Start
on that. This also did not work, though the shortcut itself worked when I double-clicked on it.
Source: (StackOverflow)
I am using VMWARE Fusion and I run Windows Server 2012 R2. I am working on Windows Deployment Service (I have already installed DNS, DHCP, AD DS, WDS, AIK) it seems to work but when I create a new virtual machine, I use PXE, make F12, the installation begins and this error appears :
WdsClient: Une erreur s'est produite lors de la communication avec le serveur de services de déploiement Windows. Vérifiez si le serveur fonctionne et si les ports nécessaires sont ouverts sur le pare-feu du serveur. Nom du serveur [SERVEUR.mondomaine.local], Adresse IP du serveur [192.168.0.10]
I have already test my server, by joining a virtual machine in the domain, it works. I have also
deactivate the firewall on my server. I don't understand..
Have you got an idea of what is wrong ?
Thanks in advance
Source: (StackOverflow)
Having a strange issue with WDS, During the boot process, an I wanted to get some opinions.
What is happening is The TFTP boot process is failing with a with a PXE-E32 Time out error, during the boot process. The Boot server is on another subnet with DCHP coming from a Juniper firewall.
I have configured the bootserver and boot file options on the juniper firewall.
I have been able to verfiy that TFTP is allowed through the firewall, by making a direct connection with TFTPD to the exact same boot file (boot\x86\wdsnbp.com)
I did a wireshark trace when the workstation was pxe booting and saw not TFTP packets at all.
Any thoughts?
Source: (StackOverflow)
I have users that have folders on a network drive that have their username part of the folder name.
How can I modify this search to work?
kind:=folder %UserName%
Note: Below works, but i need to be able to use %username% to work.
kind:=folder jsmith
If that cannot work, can I edit a saved search in notepad for jsmith, and do a find and replace with something like "System.Windows.Forms.SystemInformation.UserName Kind:=folder"
It actually is my goal to make a .search-ms file that uses this.
Thanks!
Source: (StackOverflow)
i have a Windows deployment Services server running , and at the same server i am running dhcp as well as dns server.
the network series is 10.241.0.1 to 10.241.0.105
,
questions:
Q: if i want the dhcp server to offer ip address in the network of 10.241.1.1 is it possible or i need to take the dhcp server in the network series of 1.
Q: sometimes there is a problem in wds , the client pc says no dhcp proxies were offered, how do i resolve that ?
Q:While entering the scope in the dhcp server, the dhcp server says the IP is overlapped or invalid ip address, any solutions ?
Source: (StackOverflow)
Can I please know how to check WDS service is running or not?
After patching, WDS service is disabled. Server asked for a reboot to start WDS. Can I know how to check WDS is running or not?
Source: (StackOverflow)
I'm trying to create an unattended Windows Image for deployment
I've imported the.WIM file
Opened a Current Answer File & Configured the Settings
Created the Catalog file
Yet in the XML tab it displays:
Cannot Find Windows Image information in answer file
Any suggestions as to why the answer file "can't see" the image
Do I need to include a physical file path in the answer file?
Source: (StackOverflow)