We have access to an LDAP server that has a field we need the information from. Its structure cannot be changed. We have a client application that requires the field to a certain name. How can we change the field name to match what we need before it gets to the application?
Joseph's questions
We are upgrading an old database server but want to make sure we update code on all other servers connecting to it. I'm thinking of mirroring the network port and logging what IP addresses connect to the server. I thought of turning on logging on the server itself, but I don't want to affect its performance since it is still in production.
Are there any recommendations on software I could use to log the IP addresses? It can be Windows, Linux, FreeBSD, VM, LiveCD, or something else. As long as it works on an x86-compatible box, I should be able to get it running.
I have 10 computers running Windows 7 connected to Active Directory. I would like to setup the computers so that they go into standby if no one logs in for 15 minutes, BUT I want the computers NOT to go into standby ever if someone is logged in.
This would involve the changing of Power Plans. Is there a way to have one Power Plan loaded when the computer is not logged in and a different Power Plan loaded when a user is logged in?
UPDATE: Using jscott's suggestions I think I have what I want working. I made a Power Plan called Logged_In for the User Configuration and Logged_Out for the Computer Configuration. The last glitch I had to fix was that Logged_In was applied after logout until the next policy refresh. I made the following script to run at logout based on code I found >here<:
Set objShell = WScript.CreateObject("WScript.Shell")
Set objWshScriptExec = objShell.exec("powercfg.exe -list")
Set objStdOut = objWshScriptExec.stdOut
While Not objStdOut.AtEndOfStream
strLine = objStdOut.ReadLine
If InStr(strLine,"Logged_Out") Then
strGuid = Mid(strLine,20,37)
End If
Wend
objShell.run "powercfg.exe -setactive " & strGuid
I have a device that has had no specific driver released. In Device Manager, if I choose
Update Driver... --> Browse my computer driver software --> Let me pick from a list of device drivers on my computer
I get a list of drivers when Show compatible hardware is checked. One of those drivers, which is a preloaded driver provided by Microsoft, works perfectly. How do I get Windows to install this driver without user interaction? We have 10 workstations in a lab that get reimaged regularly and not all the users are knowledge enough or have the driver installation permissions to do this on their own.
I have 10 workstations with large monitors that have USB slots and several card readers built in. The card readers cannot be disabled and will map to drive letters when I image the computers. I go into Disk Management and delete the drive mappings and add mappings to a single folder in C:\ with a folder for each slot. I have to do this because of scripts that run that are expecting specific letter drive mappings to network resources.
Is there a way to script the deleting and adding of drive mappings instead of having to use the Disk Management GUI manually on each workstation? The workstations are running XP Professional.
UPDATE:
Based on sinping's comment to use diskpart, I was able to get a script working.
I made a batch file to create the folders to mount as follows: (mksltdirs.bat
)
mkdir "C:\Removable Devices"
mkdir "C:\Removable Devices\Slot1"
mkdir "C:\Removable Devices\Slot2"
mkdir "C:\Removable Devices\Slot3"
mkdir "C:\Removable Devices\Slot4"
I made a script file that gets run using the line: diskpart /s c:\temp\chgltrs.txt
For the workstations, volume 0 is the DVD-ROM and volume 1 is C which I found by running diskpart
and typing list volume
. I found out recently that it is better to select the volume by letter because the volume order can change if something is plugged in like a USB key.
The script is a follows: (chgltrs.txt
)
select volume e
remove
assign mount="C:\Removable Devices\Slot1"
select volume f
remove
assign mount="C:\Removable Devices\Slot2"
select volume g
remove
assign mount="C:\Removable Devices\Slot3"
select volume h
remove
assign mount="C:\Removable Devices\Slot4"
We troubleshoot a lot of server and network issues and follow a loose set of steps on what to do in different cases. With more and more people and responsibility, the need for standardization is needed so we don't miss something.
I know I could accomplish what I want using flowcharts, but I'd like to do something similar to a "Choose Your Own Adventure" style. I think this is pretty much the same as what support call centers seem to do.
Are there any tools to make creating such documentation easier? I'm looking for a web based approach if possible.
I have two groups that need to access the same site but use different methods for authentication. I'm trying to figure out the best way to route them into the site. So far I have created a web page that asks them to pick which group they are. Now I'm stuck as what to do for the next step.
Just reading documentation, I'm thinking that if I create two directories that are symbolic links to the main site folder, I can have different authentications in the Directory section for each folder but get them to the same place.
Does that sound like it will work? Has anyone done something like this successfully?
I am setting up a ESXi 4.0 server and have decided to use the CD installers ability to install to a USB key. I have a freebie slow 1GB Newegg USB key and a very fast 4GB Patriot Xporter XT Boost USB key. I'd like to use the Patriot somewhere else, but if speed makes a difference, I'll just buy another one.
Does the speed of the USB key make a noticeable difference when running ESXi?
I have noticed that when a printer or driver screws up on a Windows server it usually locks up or kills the print spooler and everyone can't print until it is fixed. Usually we have to put the troublesome printer on another server so when it fails, it doesn't take the whole group with it. That is assuming we ever figure out which printer is the problem.
Is there a way to have it so that one bad apple doesn't ruin the bunch? Even if it is another form of printer serving, that would work as long as it's not hard for the user to find a printer and install drivers.
I put ESXi on an old server, but the hardware died. The hard drive is fine, and I'd like to get the VMs I made on that server moved over to a new server. The problem is, the old server used IDE drives and the new server only has SATA controllers. I have an IDE/USB adapter, but ESXi does not seem to support mounting of a USB storage devices.
Is there any way I can get access to the datastore on old hard drive? I have a Windows machine with VMware Workstation if that can be used in any way.
UPDATE: I created a VM on Workstation and installed ESXi. I then created a virtual hard drive a little bigger than the IDE hard drive. I hooked up the USB hard drive, booted up the VM, connected it to the guest, loaded a GParted Live CD ISO, and copied the drive with dd as suggested by josephkern. I tried GParted first, but it couldn't see the partitions. My first attempt failed because I created a SCSI virtual drive instead of an IDE virtual drive. ESXi saw the partition but gave an invalid path error when trying to browse it. After I created an IDE virtual drive, used dd, and booted back to ESXi, I added it as a Disk in vSphere Client and as was able to browse the datastore. Yay!
If a user or a visitor sees a port, they will try to stick something into it and then complain to us when it doesn't work or breaks their stuff. Are there such things as physical locks that can be put into ports so they can't use them?
Disabling a port is only half the solution/battle in our case.
I have a workstation with 8GB RAM running Vista 64-bit. I'd like to try running some small server VMs in a virtual RAM disk to see how much performance improves. I haven't made a RAM disk since my DOS days, so I don't know if the option still exists. How do I got about creating one? Has anyone done this same idea successfully?
Does there exist a USB key that acts like a 1.44MB floppy drive? I know there are USB floppy drives and USB flash drives, but if I can find a floppy key, I can finally get rid of the floppy disks entirely. The ideal product would work like those off brand memory cards for the Playstation that had multiple memory pages that could be changed with a button.
I know USB keys can be made bootable, but I work with older servers that support USB floppies but not bootable keys.