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
0
votes
1 answer

Batch script - change computer name on windows embedded

I am trying to rename a computer name on a Windows Embedded POS Ready 2009 OS. I am trying to update the computername with the following syntax: :: COMPUTER NAME CHANGE OUTPUT TO POWERSHELL FILE echo $sysInfo = Get-WmiObject -Class…
NerdyBird
  • 109
  • 1
  • 5
  • 11
0
votes
2 answers

How do I get the name of the computer accessing my web page in VB?

I've already tried these methods: System.Net.Dns.GetHostName Environment.MachineName My.Computer.Name Environ$("computername") Each returns APPDEV, which I assume is the name of the server hosting my web page. I've even asked friends to try my…
Joseph Webber
  • 2,010
  • 1
  • 19
  • 38
0
votes
3 answers

I need a windows command line script that takes an output, edits it and creates an environmental variable

I have Asset tags embedded in BIOS. I use wmic SYSTEMENCLOSURE get SMBiosAssetTag This pulls the information I want but it is not formatted well: SMBIOSAssetTag 11886 I need to just have those 5 numbers and nothing else. I will then use that…
0
votes
1 answer

Getting the current user name or computer name in Extendscript

I'm finally getting some headway made in my script for InDesign CS6. Now, in order for it to know to which printer it should print a document, I need to query which computer the script is running on. Barring that, perhaps the name of the currently…
Sturm
  • 689
  • 2
  • 23
  • 52
0
votes
2 answers

Unable to get "user computer name"

as mentioned above after doing lot of try & error I still stuck at this, all the reference I found till now still unable to solve this issue as I can't get the real computer name at all, instead most of example I tried before will return server name…
mutanic
  • 2,448
  • 1
  • 15
  • 17
0
votes
1 answer

Conditions for SetDirectory in Wix

I've been trying to figure out why my condition isn't working for my SetDirectory. I haven't been able to find any examples of anyone actually doing this, only that it is possible to do so, according to the WiX documentation. I've tried the…
Relevant
  • 148
  • 1
  • 15
0
votes
3 answers

How do you get an external computer's computer name in VB.Net?

This would be easier if I were able to have the external computer get its own name and just pass it to a web service as a variable, but I'm not able to do that right now. There are a variable number of computers from several different entities that…
Panzercrisis
  • 4,590
  • 6
  • 46
  • 85
-1
votes
1 answer

Reverting Back to old computer name in Windows 10

I access a PC remotely, I changed its computer name accidentally but not yet restarted it. Now I Want to revert back to the old name because If I restart I would lose access. Can I revert back without restarting It?
-1
votes
1 answer

How to check if Join a computer to a domain was succeful

I need you help... i am writing a powershell script which will add a computer to a domain. i have done this using the add-computer but my main problem is that i want to check if the join was done successful or not. If was not successful i want to…
M.agio
  • 1
  • 4
-1
votes
1 answer

How can i get computer name in .net?

I want to get the computer name in the live.means suppose if any one open my site i want to get his system name. In a work group also i want to get the name of system not workgroup name. I have did so many link but all are working for local when i…
Nava2011
  • 195
  • 1
  • 15
-1
votes
2 answers

accessing xampp using computer name

i've installed xammp on my new notebook and i can access it using localhost or 127.0.0.1 but NOT when using the computer name. using the computer name also worked previously on my desktop pc. i've already tried to disable the firewall which didn't…
Fuxi
  • 7,611
  • 25
  • 93
  • 139
-2
votes
1 answer

How to get the current user name on the computer running a batch file?

This is what I need: @echo off title H1Z1 Launcher By Grim0 cd C:\Users\%ComputerName%\AppData\LocalLow\Daybreak Game Company\Digests\H1Z1-KingKill That's the part that I tried but it didn't work. %ComputerName% in path should be the user name of…
Ido Shay
  • 3
  • 3
-2
votes
1 answer

Psshutdown Remote Computer With Computer Name Not working

I have been trying to fix this issue for months and just can't seem figure it out. Both computers Windows 7 Ultimate 64-bit. Trying to shut down a remote computer in my LAN home network. I'm using psshutdown which is part of the Microsoft…
user3089120
  • 57
  • 2
  • 2
  • 6
-3
votes
2 answers

How to make C# executable file PC Specific

I am making a normal c# program and want it to be un-sharable. The way I want to approach this, is I have heard of code that could target and find the name of the user's pc. I have the name of my friend's PC, and want to have only work when he runs…
C Hwang
  • 1
  • 2
-4
votes
1 answer

Read a CSV with Machine Name, Username, Password (seperated by commas) using Vbscript

The task is to first scan the local machine for a Valid Computer name (which I've done) then with that Computer name it should check a CSV to pipe the Username and Password sections somewhere. My CSV reads as…
Thudo
  • 1
1 2 3 4
5