workgroup interview questions
Top workgroup frequently asked interview questions
My computer is connected to a domain, but when I go to create a public queue:
MessageQueue.Create(@".\testqueue");
I get this error:
A workgroup installation computer does
not support the operation.
Why might MSMQ think I'm on a workgroup computer?
Source: (StackOverflow)
I have built an application with a tree view showing the file structure of the server the application is running on. I want to be able to include in the tree the file structure of machines connected through the network.
Something like this but with multiple workgroups.
The only example I have found which is similar so far is this example which simply lists machines connected through the network, whereas I want access to the folders within them.
Thanks in advance for any help
Source: (StackOverflow)
I'm trying to enumerate all the pc's in my workgroup lan (not a domain) using WMI.
I can't figure out which class to use or if there is any class that offers this functionality?
I've tried several classes but the one that seems that should do the work (Win32_NetworkClient) does not show what i expected to...
Is this possible using WMI, or only using LDAP with a domain?
Thanks
Source: (StackOverflow)
I have set up a little network with windows workgroup. My pc (windows 8) connected with server (sql server 2012) using windows authentication. Of course I had a local account and not the microsoft account and a pure mapping of the accounts did the job.
With the upgrade to windows 8.1 and in order to use skydrive I must use a Microsoft account. How can I connect to sql server using windows authentication and using this Microsoft account?
Source: (StackOverflow)
I have about 120 computers at my workgroup !
we started with 17 pcs then the network grow with the company
so we have now more than 120 computers in the same workGroup !
my question is may this affect the performance of the network
as file transfer or else
????
my main need is to speedup files playing through network
as videos.
1- the use of workgroup on more than 120 computers may affect network performance ?
2- its better to use domain controller?
3- if Iam using Domain controller the network will be faster especially file transfer ?
thank you.
Source: (StackOverflow)
I have question about work-groups processing in OpenCL. If I have 10 work-groups and every work-groups has 8 work-items. Is there an strictly order of work-group processing on GPU? Are the work-groups processed from 1 to 10, or it's possible that the work-groups are processed random.
Source: (StackOverflow)
I have a laptop (PC2) and a desktop (PC1) in a workgroup. PC1 is running SQL Server 2014 Developer and PC2 is running SQL Server Express 2014. Using SSMS, I have tried many different ways to connect to PC1 Sql Server, but always get error 18456.1
I'm obviously new to SQL Server administration. The servers on both PCs are configured for both Windows and SQL Server Authentication. SQL Server browser service is running and enabled. The log on ASUS-JHS-CM6850 (PC1, desktop) shows
06/05/2015 14:42:25,Logon,Unknown,Login failed for user
'ASUS-JHS-CM6850\Guest'. Reason: Could not find a login matching the
name provided. [CLIENT: 192.168.1.15] 06/05/2015
14:42:25,Logon,Unknown,Error: 18456 Severity: 14 State: 5.
I'm pretty sure I need to add logins or users to one or both servers, but I've been struggling with this for days now. I also don't know why it's logging in as Guest, nor have I found a way to change that.
Source: (StackOverflow)
I am passing in a matrix as global memory and processing each vector(row) in local memory. The actual matrix passed in is 100 X 2025, but in the kernel I pad it with zeros to utilize power of 2 operations. I process 4 elements of the vector in each work item.
MAX_WORK_ITEM_SIZES: (512,512,512)
MAX_WORK_GROUP_SIZE: 512
size_t globalWorkSize[2] = { 100, 2048 };
size_t localWorkSize[1] = { 512 };
I've also tried making localWorkSize 2 dimensional: {1, 512} but I get the same error, CL_INVALID_WORKGROUP_SIZE on this function call:
err = clEnqueueNDRangeKernel( openCLObjects.queue, openCLObjects.Normalize, 2, NULL,
globalWorkSize, localWorkSize, 0, NULL, NULL );
Any idea what could be going wrong?
Thanks.
Source: (StackOverflow)
I am running Server 2003 and client as Windows 7. I am trying to log-in to a website ( openjet.damanhealth.ae ). If my PC is running as Workgroup, I can log-in to the website and everything works normal. But when I join domain, the same website doesn't allow me to log-in and the error message appears as "User credentials are invalid". It looks like the website is failed in some authentication process. Even after dis-joining the same PC from domain, back to Workgroup, I am still unable to log-in.
Do I need to make some settings in the Group Policies? Right now I am running the Server with all default policies. No extra settings done in GP. What can be the changes Server has made in the client PC to stop working?
Source: (StackOverflow)
My boss fancies himself an IT genius, and has created a number of databases, all secured with Access' user-level security MDW feature. Now for the MDW feature to work, you either have to craft shortcuts that point to the MDW, or you have to configure the workstation to use that MDW as default.
He chose the latter.
Now, when opening MY unsecured DBs, or even trying to create new blank ones, it wants me to login to his MDW. This cannot stand.
How can I reconfigure Access to use the default MDW (I think it is called System.MDW).
NB: I cannot run code in the VB window. I cannot open any databases at all. Solutions must likely be external to Access.
Source: (StackOverflow)
As well known OpenCL barrier() function works only for single workgroup, and there is no direct possibility to synchronize workgroups. If it possible what's best approach for global synchronization today? Using atomics, OpenCL 2.0 features, etc.?
Github links, examples are welcome!
Thankx!
Source: (StackOverflow)
I am trying to move my TFS2010 server to a domain and keep getting TF246017
database error. I followed the instructions on:http://msdn.microsoft.com/en-us/library/ms404883%28v=VS.100%29.aspx
I shut down the service, I have no Sharepoint and the next point was to move user and service accounts.
I did(with an admin account):
cd "C:\Program Files\Microsoft Team Foundation Server 2010\Tools"
TFSConfig identities /change /fromdomain:OLS-APPServer /todomain:NewDomain /account:"NT Authority\Local Service" /toaccount:"NT Authority\Local Service"
and that is where I got a :
"TF246017: Team Foundation Server could not connect to the database.
Verify that the server that is hosting the database is operational,
and that network problems are not blocking communication with the
server."
The SQL server is local and I can connect to it via SSMS. What am I missing?
Source: (StackOverflow)
I need to be able to programmatically authenticate when trying to read and write files on a remote computer in a non-domain environment.
When you type a command into the Windows RUN prompt that is similar to \\targetComputer\C$\targetFolder or \\targetComputer\admin$, where the targetComputer is NOT on a domain, you will be prompted to enter a username and password. Once you enter the username and password, you have full access to the remote folder.
How can I accomplish this authentication programmatically in C#?
I've tried..
--Impersonation, but it appears to only work in a domain environment.
--CMDKEY.exe, but it also seems to only work in a domain environment.
There must be a way to do this, but I have searched high and low with no luck so far. Maybe I'm just looking for the wrong thing? I'm sure I'm not the first to have this question. Any help would be greatly appreciated.
Thanks!
EDIT :
I think I just found a different SO posting that answers my question: Accessing a Shared File (UNC) From a Remote, Non-Trusted Domain With Credentials
I will work with that for now and see where it gets me.
Thanks!
Source: (StackOverflow)
We have a service that is hosted in IIS using WAS with the net.msmq binding. The service reads messages from a private transactional MSMQ queue. I need it to work by reading from a queue that is on a different machine to the service. I can get it working if the queue is on the same machine, but not if it is on a different machine.
Environment information
- The servers are running Windows Web Server 2008 R2.
- The servers are in a workgroup, i.e., they are not part of a domain.
- MSMQ has been installed without the directory service integration feature.
- I believe that the required Windows features are installed (WCF Non-Http Activation and Http Activation, Message Queuing Server, Multicasting Support, Message Queueing DCOM Proxy, Windows Process Activation Service, .NET Environment, Configuration APIs)
- I have made the following registry changes on the machines:
- NewRemoteReadServerAllowNoneSecurityClient = 1
- NewRemoteReadServerDenyWorkgroupClient = 0
- AllowNonauthenticatedRpc = 1
- DTC has been enabled, with Network DTC Access, Allow Remote Clients, Allow Inbound, Allow Outbound, No Authentication Required and Enable SNA LU 6.2 Transactions all selected.
- Firewall changes have been made.
Service configuration information
- We are using netMsmqBinding.
- The transport Security Mode of the netMsmqBinding is None.
- ExactlyOnce is true
- UseActiveDirectory is false
- Durable is true
- The queue address is net.msmq://the-host-computer-name/private/EmailAsyncService
WCF logging
Cannot detect if the queue is transactional". The FormatName of the queue in the error is DIRECT=OS:the-host-computer-name\private$\EmailAsyncService
An error occurred when converting the 'the-host-computer-name\private$\EmailAsyncService' > queue path name to the format name: Unrecognized error -1072824300 (0xc00e0014). All operations on the queued channel failed. Ensure that the queue address is valid. MSMQ must be installed with Active Directory integration enabled and access to it is available.
What I have tried
- I can read messages from the remote queue from the machine the service is on if I manually create and use a MessageQueue instance.
- I've tried hosting the service as a standalone console application. The error messages are the same.
- I have tried disabling the firewalls involved.
- I've tried the changes on http://msdn.microsoft.com/en-us/library/ms752246.aspx, which relate to running such services on a computer joined to a workgroup. ("both the activation service and the worker process must be run with a specific user account (must be same for both) and the queue must have ACLs for the specific user account... In workgroup, the service must also run using an unrestricted token.") The user account I'm currently using is Network Service.
Some thoughts
- I don't believe that there is a firewall or permissions issue.
- Despite the fact that the service configuration has UseActiveDirectory set to false, the queue address of net.msmq://the-host-computer-name/private/EmailAsyncService seems to be getting translated into the-host-computer-name\private$\EmailAsyncService, which AFAIK is a name format that requires lookup via Active Directory.
Source: (StackOverflow)
So I've got an XP Pro workstation that is reporting "Windows cannot connect to the domain, either because the domain controller is down or otherwise unavailable, or because your computer account was not found. Please try again later. If this message continues to appear, contact your system administrator for assistance." when logging in with domain credentials. To fix this manually I would simply log in with the local admin account, drop it to a workgroup, and re-add it to the domain. This process however can take a decent amount of time considering this issue crops up at my work rather frequently. What I'm trying to do is programmatically automate the dropping/rejoining process. The following code works, but only if the computer is correctly in a domain or workgroup, not in limbo like it is now.
Const JOIN_DOMAIN = 1
Const ACCT_CREATE = 2
Const ACCT_DELETE = 4
Const WIN9X_UPGRADE = 16
Const DOMAIN_JOIN_IF_JOINED = 32
Const JOIN_UNSECURE = 64
Const MACHINE_PASSWORD_PASSED = 128
Const DEFERRED_SPN_SET = 256
Const INSTALL_INVOCATION = 262144
Const WbemAuthenticationLevelPktPrivacy = 6
'On Error Resume Next
SystemName = "SystemName"
strNamespace = "root\cimv2"
ComputerBLogin = "LoginB"
ComputerBPass = "PassB"
ComputerALogin = "LoginA"
ComputerAPass = "PassA"
DomainName = "domain.com"
OU = "OU=desiredou,DC=domain,DC=com"
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate,authenticationLevel=pktPrivacy}!\\" & SystemName & "\root\cimv2")
If Err.Number <> 0 Then
Set objWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objWMIService = objwbemLocator.ConnectServer(SystemName, strNamespace, ComputerBLogin, ComputerBPass)
objWMIService.Security_.authenticationLevel = WbemAuthenticationLevelPktPrivacy
Err.Clear
End IF
Set colComputers = objWMIService.ExecQuery("Select * from Win32_ComputerSystem")
For Each objComputer in colComputers
Return = objComputer.UnJoinDomainOrWorkGroup(NULL, NULL)
Return = objComputer.JoinDomainOrWorkGroup("WORKGROUP", NULL, NULL)
If Err.Number <> 0 Then
Set WshShell = CreateObject("WScript.Shell")
message = WshShell.Popup (SystemName & " could not be dropped to the workgroup!" & vbCr &_
"Error: " & Err.Description,, "Title", 0 + 16)
Else
Set WshShell = CreateObject("WScript.Shell")
message = WshShell.Popup (SystemName & " was successfully dropped to the WORKGROUP!",, "Title", 0 + 64)
End If
Next
For Each objComputer in colComputers
ReturnValue = objComputer.JoinDomainOrWorkGroup(DomainName, ComputerAPass, ComputerALogin, OU, JOIN_DOMAIN + ACCT_CREATE)
If Err.Number <> 0 Then
Set WshShell = CreateObject("WScript.Shell")
message = WshShell.Popup ("Unable to join " & SystemName & " to the domain! Please join manually.",, "Title", 0 + 16)
Else
Set WshShell = CreateObject("WScript.Shell")
message = WshShell.Popup ("Domain joining was successful!",, "Title", 0 + 64)
End If
Next
When the script hits line 24:
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate,authenticationLevel=pktPrivacy}!\\" & SystemName & "\root\cimv2")
it errors with "The remote server machine does not exist or is unavailable: 'GetObject'". This line would normally work if the machine were correctly in the domain. The AD object does exist. If this errors I have it coded to log into the machine with the local admin credentials on line 29:
Set objWMIService = objwbemLocator.ConnectServer(SystemName, strNamespace, ComputerBLogin, ComputerBPass)
That will error out with "SWbemLocator: Access is denied."
So using both methods I'm familiar with there's no way to access WMI when the machine is in this limbo. In my research it seems as though the "Trust relationship between the workstation and the domain has failed" but to me that doesn't explain why I can't log in with the local admin credentials.
I didn't want to have to resort to NETDOM, but I tried anyway. It errors out as well talking about the failed trust relationship.
So my questions are:
A) When this error message is present is there any way to programmatically drop the workstation to a workgroup and re-add it to the domain?
B) Programmatically repair the trust relationship between the workstation and domain (If that is in fact what's wrong with it)?
C) When this error message is present log into the workstation with admin credentials?
Thanks everyone in advance for any potential help and please let me know if any more details are needed.
Source: (StackOverflow)