Questions tagged [computer-name]

Questions about retrieving or setting the computer name.

The name of a computer is a human-readable identifier. One example purpose is the Domain Naming System which maps the computer name (qualified by a domain name) to an IP address.

Use this tag for questions about retrieving or setting the computer name.

75 questions
1
vote
1 answer

Find a client computer name

I want to find the client computer name. I am using php but it does not work well because it is server side language than I use javascript because it is client side. I hava a code in javascript but it does not work. var network = new…
Axeem
  • 670
  • 4
  • 16
  • 26
1
vote
2 answers

Get LAN client machine name in servlet based web application

I have spring MVC application, that runs in LAN. In there client machines IP addresses are changing time to time. Therefore I want to get client machines names(Their machine name is fixed ),because I want to get client machine's details without…
Neha
  • 109
  • 1
  • 4
  • 12
1
vote
0 answers

NSHost -localizedName returning nil

I have received a crash report from one user who cannot use the login feature of my OS X app. From reading the backtrace, the problem appears to be that [[NSHost currentHost] localizedName] is returning nil (I am then inserting it into an…
colincameron
  • 2,696
  • 4
  • 23
  • 46
1
vote
5 answers

If Computer Name Contains

I need to create a batch file that moves computer name object in Active Directory only if computer name contains some string, like: If %computername% contains "LAP" ( dsmove "CN=%computername%,CN=Computers,DC=domain,DC=local"…
Nick
  • 499
  • 4
  • 11
  • 25
1
vote
1 answer

WiX: Use [ComputerName] with property in Transforms.xml

I need to use the built-in variable [ComputerName] in a property in a Transforms.xml WiX file. What I'm doing: What shows up is: "[ComputerName]" That's not what I want. I want the real…
werp
  • 80
  • 8
1
vote
0 answers

javascript get a computer name

I am trying to get client computer name in JavaScript but I am still unable to find that. Here is my JavaScript functions which I tried.