Wednesday, October 29, 2014

Red X in outlook, already went through all the standard fixes...

Environment:
Windows 7
Outlook 2007


So you have these in Outlook:


The good old "can't see shit" red x.

You've probably gone through the Trust Center, to make sure "Don't download pictures automatically in HTML email messages..." box is UNCHECKED.

You've probably already opened a new message, clicked the office icon and gone to editor options>Advanced and made sure Show picture placeholders is unchecked.

You may have even gone to the registry and made sure the Secure Temp folder is both A. not full, and B. has the correct path.  (By the way, that key in W7/Outlook 2007 is: HKCU>Software>Microsoft>Office>12.0>Outlook>Security)

Have you check IE LAN settings to make sure Auto Detect is checked?  Stupid right?  I checked that too...  none of this did anything for me.

Have you read how Outlook doesn't handle https images correctly, resulting in red x's?  I read that too.  If you've done all this, you probably read the same forum article I did.  And the fix that finally worked was nestled toward the end.

!!!!!!!!!THE FIX!!!!!!!!!

What it ended up being was an IE setting.
Under Security, remove the checkmark in Do not save encrypted pages to disk


Thank you Mr. dajonline.  You're a life saver.

Thursday, October 23, 2014

DL380 g4 no video

Situation:
A previously working DL380
Plan to add drives to raid, currently raid is 3 drives.

Added drives, no boot.
Drives spin up, green lights on everything, eventually it appears to boot to the previous raid drives.  New drives have no lights, old drives have green.  No video.
No POST beeps.
Looked online, reseated the PCI riser, no change.
Added PCI video card. nothing.

Looked for lose connections, nothing.
took it out of the rack and sat it on a desk and took another look inside.  One of the memory modules was lose on the corner closest to the faceplate so I couldn't see this when it was in the rack, the fans blocked it.
It wasn't popped out much.  The hold down clip was undone slightly.
I don't remember touching the memory, but I must have.

So if your DL380 looks like its working fine but you have no video.  Check memory.

Saturday, October 18, 2014

remotely restart a windows 7 computer, or maybe any windows OS

cmd > type: shutdown -i
Add the computer you want to restart
complete the rest of the form and restart.
(I also use this when I'm in remote desktop and need to reboot the computer I'm on.)


Friday, October 17, 2014

Taking down old DNS server ends the internet...

Situation:
Moving from 2003 to 2012 servers.
Multiple DCs running DNS
Shut down the last 2003 DC, all DNS fails.

Final DC was running the proxy server.  Turned off service, internet still worked.
Turned off DNS, internet stops working.

Turns out the other DNS servers weren't relying on the root hints, they forwarding traffic to one server that no longer exists, along with the last 2003 DC running DNS.

To view this, go to your Fowarders, DNS Manager>Click the server under DNS>Forwarders tab.  Similar to how you get to your root hints (http://randomcomputerjunkbyalex.blogspot.com/2013/05/updating-root-hints-on-dns-server.html)
Edit and remove old servers from here.

Note:  I had the checkmark in Use Root hints if no forwarders are available, but it still didn't use the root hints when the old 2003 server was offline.  DNS just stopped working.

Well, if I hope this helps someone out there.  I don't want to believe I'm THAT bad at computering.

Wednesday, September 24, 2014

Added computer to domain, doesn't show up in Active Directory

I recently had a computer crash.  So I reloaded it, named it the same thing and added it to the Domain.
I made sure to delete the previous entry before joining the domain.
The computer asked for domain credentials, and successfully added itself.
So I rebooted and I was able to log in with domain accounts.

However....

There's always a however...

The computer didn't show up in Active Directory Computers.
It didn't show up anywhere in AD.

I went back to the computer, removed it from the domain and added again.
Standard procedure.  Says welcome to the domain and requires a restart.  I oblige.

Check AD, still not there...

I thought I'd change the name, didn't work because the computer account wasn't found...

So here is how I got it to work:
Removed the computer from the domain.
Reboot.
Renamed computer.
Reboot.
Joined domain.
Reboot.
Verified account in AD.
Changed name on computer.
Reboot.
Verified account in AD, it was now the name I wanted to use.

All done.

Stupid PITA.

Tuesday, August 12, 2014

Use robocopy to move shares from one server to another

Environment:
old 2003 appliance server
new 2012 r2 on vmware.

On the 2012 server, run cmd as administrator:
robocopy \\(server where the files live)\share \\(server you want the files to go)\share /copyall /mir

This moved all folders, files and permissions.

Friday, August 1, 2014

Outlook sync issue 0X8004010F

For me it was referencing the offline address book.

What I did to fix it:
Removed exchange account, close outlook
Deleted .ost from c:\users\username\app data\local\microsoft\outlook
(make sure you have show hidden files checked.  Organize>Folder and Search Options>View>Hidden files and folders)
Added exchange account through control panel (control panel>mail>email accounts>new)
Opened outlook
No more Sync issues.

Friday, July 25, 2014

Fields with this icon cannot be edited due to insufficient access

Exchange 2010 environment
You need to be part of the Organizational Environment in AD.

Locate your account in Active Directory Users and Computers
Member Of tab
Add
Organizational Environment
OK
Log off and back on to the server and you're good to go.

Friday, July 18, 2014

Unable to open FTP site in windows explorer

Check to see if the registry key HKEY_CLASSES_ROOT/ftp exists.
On a computer I was working on, this key wasn't there.  Export the key from a computer that has it and import it into the bad computer's registry.

Try again.

Enjoy. 

Thursday, July 17, 2014

CMD resource

http://www.robvanderwoude.com/ntadmincommands.php#Cmd15

The one I use the most:
    View all domain controllers-
    DSQUERY Server

Wednesday, July 16, 2014

Creating bootable USBs

So I have a laptop with no CD drive, and I want to put windows 7 on it instead of windows 8 (user preference). I found one thread online that said just to move the files to the bootable usb drive. So I did this without really think I had to do anything to make the USB bootable. No go. So I found this this useful :http://en.kioskea.net/faq/29462-windows-7-create-a-system-repair-usb-key. I used the DISKPART portion to format the usb and then I moved the files from the system generated repair disk (Backup Restore, Create a system image). Worked like charm.
Open the command prompt: "Run" -> CMD
And then type the following commands:
·         DISKPART · (This command will open the tool "diskpart")
·          list disk · (Look for the No. assigned to your USB key from the list that appears)
·          select disk 3 · (Where No. 3 correspond to your USB key)
·          clean
·          (This will delete this partition)
·          create partition primary
·          (Create a new partition)
·          active
·          (This will make your partition active - bootable)
·          format fs=fat32 quick
·          (Quick format in "fat32")
·          assign
·          (To assign a letter to your USB drive)
·          exit
·          (To exit diskpart)
·          exit
·          (To close the command prompt)

I had intended to boot to the recovery 'cd' and load a premade image from another computer, but because of HD size differences (HD the image was based on was bigger) I ended up not being able to pull the previous image. And the USB drive I was using wasn't big enough to have a complete w7 install on it (Dell factory CD) so I ended up formatting an external hard drive in FAT32 moved the contents of the w7 repair disk and that worked. The External HD wasn't anything big, 80GB, but I was getting an error saying the format failed because the volume was too large... yay.
To shrink the volume in diskpart, type in:
shrink desired=##### 
Replace the number signs with the amount you want to shrink it by. With my 80GB hd, I shrunk it by 50000, roughly 48GB and I was then able to format with FAT32(quick) and make it bootable.

In the future, I think I'll just get an external CD drive.

ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'

 I tried a couple things, downgrading, reinstalling, followed some github links talking about /usr/local/lib/python3.10/dist-packages/basics...