Situation:
Vizio sound bar works. But all of a sudden, no sound. The movie is playing fine, but no sound. On the sound bar itself, two indicator lights are blinking.
You've cycled through to make sure you on the right input, even checked the back of the soundbar to verify what number port you're in (indicator lights work in 2s. bottom two are input one, next two are input 2 and so on.)
Do you have the single bar? If so, you're like me. And the issue is the audio signal trying to do 5.1 or something. Go into your audio settings (check device manual for specifics, your specific manual can be found here: www.google.com) and change the audio input.
All done.
Monday, December 14, 2015
The store driver failed to submit event ... mailbox ... error 1012
Ever get this message?
Want to know what mailbox it is?
In the Exchange Powershell:
Get-MailboxStatistics -Identity (all the numbers after 'mailbox')
If you run the cmdlet and get a blank space under StorageLimitStatus, this is 'by design', it seems to be a common error when you migrate the mailbox from 2010 to 2013. The current (12/14) work around is to move the mailbox to a new database.
Want to know what mailbox it is?
In the Exchange Powershell:
Get-MailboxStatistics -Identity (all the numbers after 'mailbox')
If you run the cmdlet and get a blank space under StorageLimitStatus, this is 'by design', it seems to be a common error when you migrate the mailbox from 2010 to 2013. The current (12/14) work around is to move the mailbox to a new database.
Friday, December 4, 2015
Visio sound bar not pairing with iPhone
Are you having issues getting your iPhone to sync with your Vizio sound bar?
Have you successfully connected your iPhone to your Vizio sound bar previously?
Then you're in the same boat I was in.
There it was in my remembered list, not connected.
I ran a force pair on the Vizio (holding the bluetooth button until the lights start flashing up and down.) still nothing.
I figure this flashing light meant bluetooth was on, so while it was in force pair, I removed the remembered device, it dropped down to available devices, I clicked it, and boom, connected.
I'm streaming Pandora through my sound bar again.
Life is good.
Oh, Hanukkah's in a few days, and Christmas is right around the corner. Be excellent to each other and enjoy the time you have with family, soon they'll be dead and you'll miss their annoying antics.
Have you successfully connected your iPhone to your Vizio sound bar previously?
Then you're in the same boat I was in.
There it was in my remembered list, not connected.
I ran a force pair on the Vizio (holding the bluetooth button until the lights start flashing up and down.) still nothing.
I figure this flashing light meant bluetooth was on, so while it was in force pair, I removed the remembered device, it dropped down to available devices, I clicked it, and boom, connected.
I'm streaming Pandora through my sound bar again.
Life is good.
Oh, Hanukkah's in a few days, and Christmas is right around the corner. Be excellent to each other and enjoy the time you have with family, soon they'll be dead and you'll miss their annoying antics.
Thursday, December 3, 2015
The text you typed is too long. Please shorten it and try to save it again. FIXED
If you are pasting a corporate signature and you are getting this error, it might not be due to the 8kb size restriction.
I was getting this error when accessing OWA and trying to add my signature in Firefox. Another user got this error when adding their signature in Safari.
When adding the same exact signature, the same exact way, in Internet Explorer we were able to add the signature.
So, before you give up and say everyone using OWA will have to have plain text signatures, try adding it through IE.
I was getting this error when accessing OWA and trying to add my signature in Firefox. Another user got this error when adding their signature in Safari.
When adding the same exact signature, the same exact way, in Internet Explorer we were able to add the signature.
So, before you give up and say everyone using OWA will have to have plain text signatures, try adding it through IE.
Friday, October 23, 2015
Cisco VPN connected, unable to access network
Situation:
User is connected to VPN. Able to ping user computer from inside the network. User is able to complete one ping request to internal server, others time out.
Things I did:
Disconnected and reconnected the VPN, no change.
Looking at IPs, I noticed what IPCONFIG gave me, and what the cisco adapter said were different. Weird.
Anyway, to fix it, I ended the Cisco Anyconnect program, started it up and reconnected. It pulled a new IP and I was able to access the network again.
This could have been a timing thing, but after I ended all the processes for Cisco and reconnected it, everything went back to normal.
User is connected to VPN. Able to ping user computer from inside the network. User is able to complete one ping request to internal server, others time out.
Things I did:
Disconnected and reconnected the VPN, no change.
Looking at IPs, I noticed what IPCONFIG gave me, and what the cisco adapter said were different. Weird.
Anyway, to fix it, I ended the Cisco Anyconnect program, started it up and reconnected. It pulled a new IP and I was able to access the network again.
This could have been a timing thing, but after I ended all the processes for Cisco and reconnected it, everything went back to normal.
Thursday, October 22, 2015
Finding past logins / How to see when someone logged on
I was recently tasked with finding computer login times for multiple users.
The internet seemed to make it a daunting task, talking about needing to have things setup before hand to track.
Here's what I did:
I opened Event Viewer on my computer.
Right Click Event Viewer on the tree and select Connect to Another Computer
https://technet.microsoft.com/en-us/library/cc766438.aspx?f=255&MSPPError=-2147217396
Expand Windows Logs
Select Security logs
Filter Current Log for Event ID 4648
4624 is also a logon event, but there's way more of them. 4648 is less frequent, and coincided with first logon.
The internet seemed to make it a daunting task, talking about needing to have things setup before hand to track.
Here's what I did:
I opened Event Viewer on my computer.
Right Click Event Viewer on the tree and select Connect to Another Computer
https://technet.microsoft.com/en-us/library/cc766438.aspx?f=255&MSPPError=-2147217396
Expand Windows Logs
Select Security logs
Filter Current Log for Event ID 4648
4624 is also a logon event, but there's way more of them. 4648 is less frequent, and coincided with first logon.
Tuesday, September 15, 2015
you do not have sufficient privileges to delete user exchange activesync devices
I had some users that I couldn't delete and I was getting this error:
you do not have sufficient privileges to delete
And it would give the CN, OU and mentioned the ExchangeActiveSyncDevices.
Saying it was protected from accidental deletion.
To get around this, I had to Enable Inheritance on the user. To do this, you have to have Advanced Features enabled.
This is done in View of Active Directory Users and Computers. In the window of AD Users and Computers, select View and Advanced Features.
Now, right click on the user in question and select Properties, go to the Security tab and click Advanced.
Put a check mark in 'Include inheritable permissions from this object's parent' (2012 functional level)
Now you can delete the user without getting the error.
you do not have sufficient privileges to delete
And it would give the CN, OU and mentioned the ExchangeActiveSyncDevices.
Saying it was protected from accidental deletion.
To get around this, I had to Enable Inheritance on the user. To do this, you have to have Advanced Features enabled.
This is done in View of Active Directory Users and Computers. In the window of AD Users and Computers, select View and Advanced Features.
Now, right click on the user in question and select Properties, go to the Security tab and click Advanced.
Put a check mark in 'Include inheritable permissions from this object's parent' (2012 functional level)
Now you can delete the user without getting the error.
Tuesday, August 25, 2015
Make DFS use FQDN
First, remove the server from the Namespaces
Launch powershell as an admin and run this:
Dfsutil.exe server registry dfsdnsconfig set <ServerName>
Reboot the server
Add to the namespace, if configured correctly, the server path will show up \\<ServerName>.<Domain> under the path in Folder Targets.
I recently added a third server to the DFS, and it didn't show up with .domain in the folder targets. It did show up with its FQDN in Namespace Servers.
If your server is not displaying its FQDN in folder targets, and you've already followed the above steps, go to Replication, and go to the Replication Group. Select the Replicated Folders tab, right click the folders, removing them from the namespace, right click and add them back. Boom, server.domain FQDN populates for the new server.
Launch powershell as an admin and run this:
Dfsutil.exe server registry dfsdnsconfig set <ServerName>
Reboot the server
Add to the namespace, if configured correctly, the server path will show up \\<ServerName>.<Domain> under the path in Folder Targets.
I recently added a third server to the DFS, and it didn't show up with .domain in the folder targets. It did show up with its FQDN in Namespace Servers.
If your server is not displaying its FQDN in folder targets, and you've already followed the above steps, go to Replication, and go to the Replication Group. Select the Replicated Folders tab, right click the folders, removing them from the namespace, right click and add them back. Boom, server.domain FQDN populates for the new server.
Friday, August 21, 2015
Remove and prevent Windows 8 apps from installing on new profiles
Using Windows 8 in a network environment is annoying. Its a decent OS, I mean, it works fine enough. But the fact that it auto installs apps for every user is annoying to say the least. Every time a new person logs into the computer it sets up a bunch of news and food apps that use the network.
Uninstalling them from a specific user account is easy enough, simply right click the tile and remove. But the next person that logs in gets all the apps again... Until I found this gem of the internet:
http://news.softpedia.com/news/How-to-Remove-All-Pre-Installed-Windows-8-Metro-Apps-328110.shtml
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online
Log in with a new user, it'll do the "Hi...... lets get started...." etc etc, but it won't install any apps.
Combine this with Go to the Desktop instead of Start (go to desktop, right click task bar, Properties, Navigation, check "When I sign in or close all apps on a screen, go to the desktop.") and you have a pretty normal windows OS.
Updates:
You have to run powershell as admin.
This also works in Windows 10
Uninstalling them from a specific user account is easy enough, simply right click the tile and remove. But the next person that logs in gets all the apps again... Until I found this gem of the internet:
http://news.softpedia.com/news/How-to-Remove-All-Pre-Installed-Windows-8-Metro-Apps-328110.shtml
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online
Log in with a new user, it'll do the "Hi...... lets get started...." etc etc, but it won't install any apps.
Combine this with Go to the Desktop instead of Start (go to desktop, right click task bar, Properties, Navigation, check "When I sign in or close all apps on a screen, go to the desktop.") and you have a pretty normal windows OS.
Updates:
You have to run powershell as admin.
This also works in Windows 10
Thursday, August 13, 2015
VMWare machine, CD/DVD drive connecting
I was setting up a new machine, attaching an ISO to the CD/DVD of the virtual machine. I switched to another ISO and it got stuck in a (connecting) status. Restarting the virtual machine didn't help, I had to close all the way out of vSphere, when I reconnected I was able to add the ISO and image the virtual machine.
Wednesday, August 12, 2015
Missing Site Actions button in sharepoint
For me, my user wasn't in the Owners group. Some sites would come up with Site Actions, some wouldn't. Once I put myself in the Owners group I had full access and Site Actions appeared on every page.
Thursday, July 16, 2015
iPhone won't download some apps
Got a new iPhone, newish... refurbished.
When I set it up, the country defaulted to Taiwan, no biggie, I scrolled down to my country and got it working.
Restored from iCloud, but some of my apps didn't reinstall.
Again, no problem, I went to iTunes and attempted to reload them. Wouldn't work. It would think about it and go right back to the cloud icon.
I reset the phone, again it defaulted to Taiwan, and I got everything set up, the restore from iCloud still didn't restore a couple of my apps.
The specific apps I had trouble with were My Fitness Pal and Pandora.
I signed out of iTunes and back in, and was able to install both after multiple attempts.
Still feeling like something was wrong, I did a hard reset on the phone.
https://discussions.apple.com/thread/6091113
Plug the iPhone into your computer
Press and hold the sleep/awake/power button until the apple icon comes on
hold the home button until the apple icon goes away and release the power button, still holding home.
The screen will display the iTunes logo and the USB connector.
Go into iTunes and reset the phone.
Mine said there was a problem with the phone and gave me the update or restore options. I chose update.
It sat here for quite a while without indicating it was doing anything aside from downloading software. Nothing changed on the phone, and iTunes looked like it was all done doing nothing. Everything was grey.
After this finished, I went through the new phone setup, for the third time now.
This time, after selecting language, it defaulted to United States. The restore from iCloud restored correctly.
I am a happy camper.
So, if you happen to get a refurbished iPhone and it defaults to a country other than yours, plug it into a computer loaded with iTunes and do a hard reset.
When I set it up, the country defaulted to Taiwan, no biggie, I scrolled down to my country and got it working.
Restored from iCloud, but some of my apps didn't reinstall.
Again, no problem, I went to iTunes and attempted to reload them. Wouldn't work. It would think about it and go right back to the cloud icon.
I reset the phone, again it defaulted to Taiwan, and I got everything set up, the restore from iCloud still didn't restore a couple of my apps.
The specific apps I had trouble with were My Fitness Pal and Pandora.
I signed out of iTunes and back in, and was able to install both after multiple attempts.
Still feeling like something was wrong, I did a hard reset on the phone.
https://discussions.apple.com/thread/6091113
Plug the iPhone into your computer
Press and hold the sleep/awake/power button until the apple icon comes on
hold the home button until the apple icon goes away and release the power button, still holding home.
The screen will display the iTunes logo and the USB connector.
Go into iTunes and reset the phone.
Mine said there was a problem with the phone and gave me the update or restore options. I chose update.
It sat here for quite a while without indicating it was doing anything aside from downloading software. Nothing changed on the phone, and iTunes looked like it was all done doing nothing. Everything was grey.
After this finished, I went through the new phone setup, for the third time now.
This time, after selecting language, it defaulted to United States. The restore from iCloud restored correctly.
I am a happy camper.
So, if you happen to get a refurbished iPhone and it defaults to a country other than yours, plug it into a computer loaded with iTunes and do a hard reset.
Friday, May 29, 2015
ubuntu 14 on raspberry pi
I used a class 4 32gb miniSD card.
I used a Mac to load the image onto the SD card
The ubuntu image is here:
ubuntu 14 download: Download 2015-04-06-ubuntu-trusty.zip
the link can also be found here: https://wiki.ubuntu.com/ARM/RaspberryPi
Here is where I got the steps to format the SD card
https://www.raspberrypi.org/documentation/installation/installing-images/mac.md
I used their command line instructions
(https://www.raspberrypi.org/documentation/installation/installing-images/README.md they have walkthroughs for Windows and Linux also)
diskutil list
Identify the disk (not partition) of your SD card e.g. disk4 (not disk4s1):
diskutil unmountDisk /dev/<disk# from diskutil>
e.g. diskutil unmountDisk /dev/disk4
sudo dd bs=1m if=image.img of=/dev/<disk# from diskutil>
e.g. sudo dd bs=1m if=2015-05-05-raspbian-wheezy.img of=/dev/disk4
This may result in an dd: invalid number '1m' error if you have GNU coreutils installed. In that case you need to use 1M:
sudo dd bs=1M if=image.img of=/dev/<disk# from diskutil>
This will take a few minutes.
where it says "if=image.img" you have to put the full path of the image. I'm typically a windows user, so I'm used to doing c:/users/etc. With mac it's similar, I had the image in my downloads folder, and the path is /Users/(username)/Downloads/(folder name for image)/(imagename.img)
After 'bs=" that is a 1(one)m. I thought it was an L and kept getting errors.
"this will take a few minutes" is putting it lightly. I have a new mac with an i5 and it took 15-20 minutes. But being a class 4 SD probably slowed it down a bunch.
hit control+t to see the status of the transfer.
So when this is done, I put the card in my Pi and plugged it in. Logged into ubuntu with the defaults (ubuntu/ubuntu for the user/pass) and was left at a command line. Startx didn't do anything. I bashed my head against the wall for the better part of a day trying to figure out why I kept running out of space, then returned to the original ubuntu wiki and found they had directions for exactly this kind of scenario.
Plug in the raspberry pi, log in (ubuntu/ubuntu)
$ sudo fdisk /dev/mmcblk0
Delete the partition by typing: d (enter) 2 (enter)
Recreate partition by typing: n (enter) p (enter) 2 (enter) (enter) (enter)
Write to disk by typing: w (enter)
press ctrl+alt+del to reboot the system
log back in (ubuntu/ubuntu)
on the wiki.ubuntu site, it says to run this:
sudo resize2fs /dev/mmcblk0p2
to resize the partition, when I ran it the directory wasn't found...
type:
lsblk
to see your partitions and their paths. My p2 took up the rest of my card. So I continued on creating the swap file, which wants to be 2gb.
sudo apt-get install dphys-swapfile
This failed because I ran out of disk space... so I re ran the
sudo resize2fs /dev/mmcblk0p2
And it completed successfully. Ive been known to mistype paths, which probably happened when I originally ran resize2fs.
After it finished, I tried to rerun the dphys-swapfile but terminal told me to run:
sudo dpkg --configure -a
Then I was finally able to install ubuntu desktop
sudo apt-get install lubuntu-desktop
After that, ubuntu was running.
But it was TERRIBLY slow.
I ran a slight overclock by editing the config.txt file per this website:
http://haydenjames.io/raspberry-pi-2-overclock/
In System Tools select UXterm or Xterm to get into Terminal
or hit ctrl+alt+T
type
sudo nano /boot/config.txt
At the bottom is a preloaded arm_freq option, I added the following
arm_freq=1000
sdram_freq=500
core_freq=500
over_voltage=2
gpu_mem=512
ctrl+O
ctrl+X
Close terminal and shutdown/reboot
Changing the arm_freq speeds up boot considerably, The other settings help, but don't do much it seems.
Remember, you only have a 1gb of memory, streaming video like youtube is pretty painful, but if you let it buffer a bit it works fine. Unless you go full screen...
*************************notes relating to not following directions************************
have to install the desktop for ubuntu.
First type: sudo apt-get update
Then type: sudo apt-get install ubuntu-desktop
Again, this process takes a while (probably due to my class 4 card, but whatever, it was 10 bucks)
At this point I kept running out of disk space. The previous process formatted 1.8gb of the 32gig card.
so I ran this instead
sudo dd bs=1m if=2015-05-05-raspbian-wheezy.img of=/dev/rdisk3
which ran a lot faster than the previous method.
startx still didn't do anything
it told me to run:
sudo apt-get install xinit
this quickly ran and I got to a white terminal... nothing else.
formatted the SD card with Mac's Disk Utility.
Back in Terminal:
sudo diskutil unmountdisk disk1
sudo dd bs=1m if=/Users/(username)/Downloads/(folder containing image)/(image.img) of=/dev/rdisk1
again, using rdisk instead of disk made it go much faster.
on raspberry:
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install ubuntu-desktop
still not big enough, ran out of disk space
format, reload (rinse/repeat number 5 now.)
sudo apt-get update
sudo parted -l
get the device name for:
sudo fdisk /(devicename)
n for new partition
e for extended
enter defaults
sudo reboot
sudo parted -l
you will see a third partition using the rest of the disk space
sudo apt-get updated
sudo apt-get install build-essential
sudo apt-get install ubuntu-desktop
after following instructions on the first link...
sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get install xinit
ubuntu loaded after a restart, unable to login
sudo apt-get remove xinit
sudo apt-get clean ubuntu-desktop
sudo apt-get remove ubuntu-desktop
sudo apt-get install ubuntu-desktop
sudo apt-get install ubuntu-desktop
I used a Mac to load the image onto the SD card
The ubuntu image is here:
ubuntu 14 download: Download 2015-04-06-ubuntu-trusty.zip
the link can also be found here: https://wiki.ubuntu.com/ARM/RaspberryPi
Here is where I got the steps to format the SD card
https://www.raspberrypi.org/documentation/installation/installing-images/mac.md
I used their command line instructions
(https://www.raspberrypi.org/documentation/installation/installing-images/README.md they have walkthroughs for Windows and Linux also)
diskutil list
Identify the disk (not partition) of your SD card e.g. disk4 (not disk4s1):
diskutil unmountDisk /dev/<disk# from diskutil>
e.g. diskutil unmountDisk /dev/disk4
sudo dd bs=1m if=image.img of=/dev/<disk# from diskutil>
e.g. sudo dd bs=1m if=2015-05-05-raspbian-wheezy.img of=/dev/disk4
This may result in an dd: invalid number '1m' error if you have GNU coreutils installed. In that case you need to use 1M:
sudo dd bs=1M if=image.img of=/dev/<disk# from diskutil>
This will take a few minutes.
where it says "if=image.img" you have to put the full path of the image. I'm typically a windows user, so I'm used to doing c:/users/etc. With mac it's similar, I had the image in my downloads folder, and the path is /Users/(username)/Downloads/(folder name for image)/(imagename.img)
After 'bs=" that is a 1(one)m. I thought it was an L and kept getting errors.
"this will take a few minutes" is putting it lightly. I have a new mac with an i5 and it took 15-20 minutes. But being a class 4 SD probably slowed it down a bunch.
hit control+t to see the status of the transfer.
So when this is done, I put the card in my Pi and plugged it in. Logged into ubuntu with the defaults (ubuntu/ubuntu for the user/pass) and was left at a command line. Startx didn't do anything. I bashed my head against the wall for the better part of a day trying to figure out why I kept running out of space, then returned to the original ubuntu wiki and found they had directions for exactly this kind of scenario.
Plug in the raspberry pi, log in (ubuntu/ubuntu)
$ sudo fdisk /dev/mmcblk0
Delete the partition by typing: d (enter) 2 (enter)
Recreate partition by typing: n (enter) p (enter) 2 (enter) (enter) (enter)
Write to disk by typing: w (enter)
press ctrl+alt+del to reboot the system
log back in (ubuntu/ubuntu)
on the wiki.ubuntu site, it says to run this:
sudo resize2fs /dev/mmcblk0p2
to resize the partition, when I ran it the directory wasn't found...
type:
lsblk
to see your partitions and their paths. My p2 took up the rest of my card. So I continued on creating the swap file, which wants to be 2gb.
sudo apt-get install dphys-swapfile
This failed because I ran out of disk space... so I re ran the
sudo resize2fs /dev/mmcblk0p2
And it completed successfully. Ive been known to mistype paths, which probably happened when I originally ran resize2fs.
After it finished, I tried to rerun the dphys-swapfile but terminal told me to run:
sudo dpkg --configure -a
Then I was finally able to install ubuntu desktop
sudo apt-get install lubuntu-desktop
After that, ubuntu was running.
But it was TERRIBLY slow.
I ran a slight overclock by editing the config.txt file per this website:
http://haydenjames.io/raspberry-pi-2-overclock/
In System Tools select UXterm or Xterm to get into Terminal
or hit ctrl+alt+T
type
sudo nano /boot/config.txt
At the bottom is a preloaded arm_freq option, I added the following
arm_freq=1000
sdram_freq=500
core_freq=500
over_voltage=2
gpu_mem=512
ctrl+O
ctrl+X
Close terminal and shutdown/reboot
Changing the arm_freq speeds up boot considerably, The other settings help, but don't do much it seems.
Remember, you only have a 1gb of memory, streaming video like youtube is pretty painful, but if you let it buffer a bit it works fine. Unless you go full screen...
*************************notes relating to not following directions************************
have to install the desktop for ubuntu.
First type: sudo apt-get update
Then type: sudo apt-get install ubuntu-desktop
Again, this process takes a while (probably due to my class 4 card, but whatever, it was 10 bucks)
At this point I kept running out of disk space. The previous process formatted 1.8gb of the 32gig card.
so I ran this instead
sudo dd bs=1m if=2015-05-05-raspbian-wheezy.img of=/dev/rdisk3
which ran a lot faster than the previous method.
startx still didn't do anything
it told me to run:
sudo apt-get install xinit
this quickly ran and I got to a white terminal... nothing else.
formatted the SD card with Mac's Disk Utility.
Back in Terminal:
sudo diskutil unmountdisk disk1
sudo dd bs=1m if=/Users/(username)/Downloads/(folder containing image)/(image.img) of=/dev/rdisk1
again, using rdisk instead of disk made it go much faster.
on raspberry:
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install ubuntu-desktop
still not big enough, ran out of disk space
format, reload (rinse/repeat number 5 now.)
sudo apt-get update
sudo parted -l
get the device name for:
sudo fdisk /(devicename)
n for new partition
e for extended
enter defaults
sudo reboot
sudo parted -l
you will see a third partition using the rest of the disk space
sudo apt-get updated
sudo apt-get install build-essential
sudo apt-get install ubuntu-desktop
after following instructions on the first link...
sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get install xinit
ubuntu loaded after a restart, unable to login
sudo apt-get remove xinit
sudo apt-get clean ubuntu-desktop
sudo apt-get remove ubuntu-desktop
sudo apt-get install ubuntu-desktop
sudo apt-get install ubuntu-desktop
Wednesday, May 27, 2015
DNS not routing to forwarder in Forward Lookup Zones
I recently had an instance where the server name contained dashes only.
I configured an lookup zone and A record like I do with many other sites, but this one wouldn't work.
Ping name-name couldn't be found.
After some Googling, I determined DNS was seeing the name as a single label name.
I also found out WINS used to handle situations like this (no running WINS server on my network)
But Microsoft offers a solution for server 2008 and above called GlobalNames
I will put the scripts I ran in Powershell here, at the bottom are the pages I pulled the information from, their pages contain GUI instructions.
dnscmd servername /config /Enableglobalnamessupport 1 (you will do this step on all servers running DNS, cool thing about powershell is you can do it all from this one prompt, just up arrow, change the server name and hit enter.)
dnscmd servername /ZoneAdd GlobalNames /DsPrimary /DP /forest
At this point you can go into your DNS manager GUI (Start>Admin tools>DNS) go to your Forward Lookup Zone and find GlobalNames.
Right Click
New Host (A or AAA)
Enter the name (it will show up name.globalnames)
Enter IP address (remove checkmark in create associated pointer (PTR) record)
done.
I had to flush dns (ipconfig /flushdns) and I reran the 'enableglobalnamessupport 1' on a couple servers running DNS after creating the A record.
I configured an lookup zone and A record like I do with many other sites, but this one wouldn't work.
Ping name-name couldn't be found.
After some Googling, I determined DNS was seeing the name as a single label name.
I also found out WINS used to handle situations like this (no running WINS server on my network)
But Microsoft offers a solution for server 2008 and above called GlobalNames
I will put the scripts I ran in Powershell here, at the bottom are the pages I pulled the information from, their pages contain GUI instructions.
dnscmd servername /config /Enableglobalnamessupport 1 (you will do this step on all servers running DNS, cool thing about powershell is you can do it all from this one prompt, just up arrow, change the server name and hit enter.)
dnscmd servername /ZoneAdd GlobalNames /DsPrimary /DP /forest
At this point you can go into your DNS manager GUI (Start>Admin tools>DNS) go to your Forward Lookup Zone and find GlobalNames.
Right Click
New Host (A or AAA)
Enter the name (it will show up name.globalnames)
Enter IP address (remove checkmark in create associated pointer (PTR) record)
done.
I had to flush dns (ipconfig /flushdns) and I reran the 'enableglobalnamessupport 1' on a couple servers running DNS after creating the A record.
Monday, May 11, 2015
Restart services the easy way and without end user interaction
Occasionally I've had to do a full ip release and renew to get things working again. When I'm remoted in I've done the ipconfig /release and had to have the end use type in ipconfig /renew.
There's been a 'solution' to my 'problem' all along:
ipconfig /release && ipconfig /renew
This will release the IP and renew the IP once the previous command completes.
This will also work if you have to do something like restart a spooler
net stop spooler && net start spooler
Or any other services that you have to stop start rather than just restart.
This will also work if you have to do something like restart a spooler
net stop spooler && net start spooler
Or any other services that you have to stop start rather than just restart.
Tuesday, March 24, 2015
WDS completes, no boot device on startup.
F1 to retry
You know the error screen.
Situation:
Dell Latitude e7440, solid state drive
Came with windows 8, used WDS to put vanilla W7.
W7 completes, but doesn't boot.
I went into BIOS, secure boot was disabled
UEFI was enabled, changed to legacy and it booted right up.
Also, with these e7440, I've been moving the SSD into the MSATA port. I had an issue with one of the first e7440 that was losing the regular SATA connection, randomly. I'd get the system and it would boot up, everything would be fine, I'd send it back to the user, it wouldn't work again. The back panel is kind of flimsy, so I can only assume he was holding it toward the top, or the docking station was pressing against the cable causing the hard drive connection to come loose.
You know the error screen.
Situation:
Dell Latitude e7440, solid state drive
Came with windows 8, used WDS to put vanilla W7.
W7 completes, but doesn't boot.
I went into BIOS, secure boot was disabled
UEFI was enabled, changed to legacy and it booted right up.
Also, with these e7440, I've been moving the SSD into the MSATA port. I had an issue with one of the first e7440 that was losing the regular SATA connection, randomly. I'd get the system and it would boot up, everything would be fine, I'd send it back to the user, it wouldn't work again. The back panel is kind of flimsy, so I can only assume he was holding it toward the top, or the docking station was pressing against the cable causing the hard drive connection to come loose.
Monday, March 23, 2015
Move computers to groups in logmein central
Sounds simple right? I was in Details view and for whatever reason I couldn't figure it out until I switched to List view.
I'm using Chrome to load the Logmein Central page.
Change to List view
Click the drop down by the computer you want to change and go to Properties
On this window you'll have a drop down for the groups you've created
Select the group and save
I'm using Chrome to load the Logmein Central page.
Change to List view
Click the drop down by the computer you want to change and go to Properties
On this window you'll have a drop down for the groups you've created
Select the group and save
Friday, March 20, 2015
Moving a VMware machine from one physical machine to another.
First, SSH has to be enabled on each of the physical hosts.
on the VM host, hit F2 and log in.
Go to Troubleshooting Options. I turned on both the ESXi shell and the SSH shell, then restarted management agents, I don't know if I had to do all that, but I did.
Once you've done that, go to your vSphere and go to the Configuration tab.
Click Security Profile under Software.
Click Properties under firewall, I put a check mark in SSH Client and SSH server.
This would be done on both physical servers.
I used Putty to connect to the server that housed the machine I wanted to move. Once your connected, type:
scp -r /vmfs/volumes/(your datastore name)/(your VM host folder) root@ip.of.new.server:/vmfs/volumes/place/it/goes
It should then ask for the root password. Those are not two separate commands, there's a space between (your VM host folder) and root, but it would all be on the same command.
SCP lets you move files, SCP -r lets you move directories, if you forget the R you'll get an error that its not a regular file.
I would also get "no such file or directory" the first couple of times I tried this, ESXi is case sensitive, so make sure you use proper case.
I also had issues finding out the path of my files. To find out your path, go to your vSphere Client.
Click Configuration
Under Hardware, go to Storage
click on your datastore, this gave me the /vmfs/volumes/ part, the hex identifier can be replaced with the name you gave your datastore, this is located under identification.
You can right click the datastore, and go to Browse Datastore to see the folders that hold your virtual machines.
Also, in my environment I was only getting transfer rates of 4-5mbps.
This is on a gig network, with 10k SAS drives, transferring from a G7 to a G5 HP server.
**********
Also....
If you go have a big enough drive, you can copy the files to your computer, and then upload them to the other server. This is the video that helped me.
https://www.youtube.com/watch?v=XSZdWQMynhw&index=4&list=PLe-uhdcSI8Z3FSPcGdUvnurCcGuW4vESm
*****************Update on transfer speed*******************
I was able to double the 4-5mbps by changing the raid of the target server. I was running RAID 5, changed to RAID 10 and saw 9/10mbps, So the limitation before was the Hard Drive speed, which makes sense and I should have known, but I guess I just took for granted.
on the VM host, hit F2 and log in.
Go to Troubleshooting Options. I turned on both the ESXi shell and the SSH shell, then restarted management agents, I don't know if I had to do all that, but I did.
Once you've done that, go to your vSphere and go to the Configuration tab.
Click Security Profile under Software.
Click Properties under firewall, I put a check mark in SSH Client and SSH server.
This would be done on both physical servers.
I used Putty to connect to the server that housed the machine I wanted to move. Once your connected, type:
scp -r /vmfs/volumes/(your datastore name)/(your VM host folder) root@ip.of.new.server:/vmfs/volumes/place/it/goes
It should then ask for the root password. Those are not two separate commands, there's a space between (your VM host folder) and root, but it would all be on the same command.
SCP lets you move files, SCP -r lets you move directories, if you forget the R you'll get an error that its not a regular file.
I would also get "no such file or directory" the first couple of times I tried this, ESXi is case sensitive, so make sure you use proper case.
I also had issues finding out the path of my files. To find out your path, go to your vSphere Client.
Click Configuration
Under Hardware, go to Storage
click on your datastore, this gave me the /vmfs/volumes/ part, the hex identifier can be replaced with the name you gave your datastore, this is located under identification.
You can right click the datastore, and go to Browse Datastore to see the folders that hold your virtual machines.
Also, in my environment I was only getting transfer rates of 4-5mbps.
This is on a gig network, with 10k SAS drives, transferring from a G7 to a G5 HP server.
**********
Also....
If you go have a big enough drive, you can copy the files to your computer, and then upload them to the other server. This is the video that helped me.
*****************Update on transfer speed*******************
I was able to double the 4-5mbps by changing the raid of the target server. I was running RAID 5, changed to RAID 10 and saw 9/10mbps, So the limitation before was the Hard Drive speed, which makes sense and I should have known, but I guess I just took for granted.
Unable to update the IP address on Isatap interface isatap.
Environment:
ESXI 5.5
Windows Server 2012 R2
Error comes up when running DCdiag.
To clear this I went into Device Manager, show hidden devices, disabled and uninstalled the ISATAP connector.
Clean DCDIAG after that.
ESXI 5.5
Windows Server 2012 R2
Error comes up when running DCdiag.
To clear this I went into Device Manager, show hidden devices, disabled and uninstalled the ISATAP connector.
Clean DCDIAG after that.
Tuesday, March 10, 2015
WDS capture, windows failed to start 0xc000000f
I'm trying to capture an image using WDS.
I went through the proper steps of creating a boot image and then a capture image.
The Boot image loads fine, the capture image results in this screen:
WDS is running on fully patched (as of 3/10/2015) server 2012 R2After searching the internet and finding a number of people have this issue, some referring to KB2919355, I finally found a fix that worked.
(If you are wondering, no, removing KB2919355 and reinstalling WDS did not work for me.)
I used DISM to mount and unmount the capture image. I created a "MountDir" folder on the same drive as the rest of the boot files. In red are the variables for whatever you called your capture image.wim and wherever you want to mount it to.
C:\>dism /mount-wim /wimfile:C:\RemoteInstall\Boot\x64\Images\capture_x64.wim /mountdir:C:\MountDir /index:1
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Mounting image
[==========================100.0%==========================]
The operation completed successfully.
C:\>dism /unmount-wim /mountdir:C:\MountDir /commit
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image File : C:\RemoteInstall\Boot\x64\Images\capture_x64.wim
Image Index : 1
Saving image
[==========================100.0%==========================]
Unmounting image
[==========================100.0%==========================]
The operation completed successfully.
And that's it. Mount it, do nothing to it, unmount it saving 'changes' and viola. You can now boot to the capture image.
Friday, February 27, 2015
Word showing {hyperlink "mailto:"} in front of email addresses
Situation:
all email address are showing up with {hyperlink "mailto:email@address.com"} in front of them
Solution:
alt+F9
all email address are showing up with {hyperlink "mailto:email@address.com"} in front of them
Solution:
alt+F9
Thursday, February 12, 2015
Mac delete key doesn't work through logmein
Situation:
Mac laptop using logmein to connect to a PC
Problem:
Using Outlook on the PC, unable to delete emails by pressing the delete key on the Mac. It just opens the Deleted Items in outlook.
Solution:
Press fn+delete key to delete the items through logmein.
Mac laptop using logmein to connect to a PC
Problem:
Using Outlook on the PC, unable to delete emails by pressing the delete key on the Mac. It just opens the Deleted Items in outlook.
Solution:
Press fn+delete key to delete the items through logmein.
Thursday, January 29, 2015
Public Folders, Exchange 2013
Are a massive pain in the ass...
So you have the main mailbox, assigned the Primary Hierarchy, and all mailboxes beyond that are assigned the Secondary Hierarchy.
If a folder resides in anything but the Primary Hierarchy, you will NOT be able to add subfolders to it through Outlook.
You'll get this window:
You'll still be able to add folders through the EAC, but this is a massive administrative pain if your users are adding subfolders all the time.
You will be able to move data like emails and tasks to it if its in a Secondary Hierarchy though.
If you have a folder tree like this:
Root public folder
∟Team folder
∟ Folder for Stuff
∟ Folder for Stuff
∟ Folder for Stuff
That continues on and on for different root public folders, this is how you have to have them assigned on the back end:
Root public folder(primary hierarchy)
∟Team folder (primary hierarchy)
∟ Folder for Stuff (secondary hierarchy)
∟ Folder for Stuff (secondary hierarchy)
∟ Folder for Stuff (secondary hierarchy)
This way, you're moving the actual data to another PF-Mailbox and allowing the Primary space to create other useable folders through outlook.
In the Folder for Stuff, you'll be able to add emails, tasks, etc, just not subfolders.
If you've migrated from a previous version of exchange and didn't map out your public folders like this prior to the move, here are some powershell scripts you'll need. You'll need to be in the exchange shell, running as admin and logged in with a user that has exchange administration rights.
I'd just CD to the location of scripts since you'll be running a number of scripts. The scripts are located in program files\Microsoft\exchange server\
so you'll need:
.\move-publicfolderbranch.ps1
This script moves the folder you select along with everything underneath it. If you're moving a large folder, it will lock down all public folders until its done.
FolderRoot:
the location of the folder, if its a root folder, just type its name, if its not, type \home folder\sub folder\sub folder\etc until you get to the folder you're going to move. If you use the EAC to find the public folder, drill down to as far as you need and you can copy the path/paste it into powershell with a right click.
TargetPublicFolderMailbox:
The pf-mailbox you're moving to (the secondary hierarchy folder)
To see the statistics:
get-publicfoldermoverequeststatistics -identity \publicfoldermove
Before you move on to the next folder move you have to remove the finished job (there might be a better way to go about this, but I'm new to powershell/coding in general)
remove-publicfoldermoverequest -identity \publicfoldermove
If you only want to move the root folder:
new-publicfoldermoverequest
You'll be able to select the folders you want to move with this command.
So you have the main mailbox, assigned the Primary Hierarchy, and all mailboxes beyond that are assigned the Secondary Hierarchy.
If a folder resides in anything but the Primary Hierarchy, you will NOT be able to add subfolders to it through Outlook.
You'll get this window:
The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action. |
You'll still be able to add folders through the EAC, but this is a massive administrative pain if your users are adding subfolders all the time.
You will be able to move data like emails and tasks to it if its in a Secondary Hierarchy though.
If you have a folder tree like this:
Root public folder
∟Team folder
∟ Folder for Stuff
∟ Folder for Stuff
∟ Folder for Stuff
That continues on and on for different root public folders, this is how you have to have them assigned on the back end:
Root public folder(primary hierarchy)
∟Team folder (primary hierarchy)
∟ Folder for Stuff (secondary hierarchy)
∟ Folder for Stuff (secondary hierarchy)
∟ Folder for Stuff (secondary hierarchy)
This way, you're moving the actual data to another PF-Mailbox and allowing the Primary space to create other useable folders through outlook.
In the Folder for Stuff, you'll be able to add emails, tasks, etc, just not subfolders.
If you've migrated from a previous version of exchange and didn't map out your public folders like this prior to the move, here are some powershell scripts you'll need. You'll need to be in the exchange shell, running as admin and logged in with a user that has exchange administration rights.
I'd just CD to the location of scripts since you'll be running a number of scripts. The scripts are located in program files\Microsoft\exchange server\
so you'll need:
.\move-publicfolderbranch.ps1
This script moves the folder you select along with everything underneath it. If you're moving a large folder, it will lock down all public folders until its done.
FolderRoot:
the location of the folder, if its a root folder, just type its name, if its not, type \home folder\sub folder\sub folder\etc until you get to the folder you're going to move. If you use the EAC to find the public folder, drill down to as far as you need and you can copy the path/paste it into powershell with a right click.
TargetPublicFolderMailbox:
The pf-mailbox you're moving to (the secondary hierarchy folder)
To see the statistics:
get-publicfoldermoverequeststatistics -identity \publicfoldermove
Before you move on to the next folder move you have to remove the finished job (there might be a better way to go about this, but I'm new to powershell/coding in general)
remove-publicfoldermoverequest -identity \publicfoldermove
If you only want to move the root folder:
new-publicfoldermoverequest
You'll be able to select the folders you want to move with this command.
Sunday, January 4, 2015
Sorry, Word Web App ran into a problem opening this document.
I've been working on documents on one drive pretty frequently. I use the free onedrive account and all the word documents I use there were created in one drive, not uploaded.
Here's the problem, 1 document comes up with this error:
Sorry, Word Web App ran into a problem opening this document. To view this document please open it in Microsoft Word.
Which I was able to do, so my data wasn't lost. But I wanted to open it in browser so I could continue working on that file.
I was able to open up every other word document I created in one drive just fine. This was happening in Chrome, Firefox and IE on two different computers. Since downloading it worked, I know my data is still there and wasn't panicking too bad.
What I ended up doing to fix it was to create a share to the document with edit privileges, I copied that link and logged out of one drive. Opened up the document and edited it, waited for the save to complete and closed out. Logged back into OneDrive, and the document worked again.
Here's the problem, 1 document comes up with this error:
Sorry, Word Web App ran into a problem opening this document. To view this document please open it in Microsoft Word.
Which I was able to do, so my data wasn't lost. But I wanted to open it in browser so I could continue working on that file.
I was able to open up every other word document I created in one drive just fine. This was happening in Chrome, Firefox and IE on two different computers. Since downloading it worked, I know my data is still there and wasn't panicking too bad.
What I ended up doing to fix it was to create a share to the document with edit privileges, I copied that link and logged out of one drive. Opened up the document and edited it, waited for the save to complete and closed out. Logged back into OneDrive, and the document worked again.
Subscribe to:
Posts (Atom)
Pulling local admin accounts on a windows system WITH POWERSHELL
There’s a couple ways to get them, I’m sure you’ve been around the internet looking. The Powershell scripts I use: Get-LocalGroupMember -Gr...
-
Situation: Vizio sound bar works. But all of a sudden, no sound. The movie is playing fine, but no sound. On the sound bar itself, two ind...
-
I have a customer that would like 3 monitors, for whatever reason. The Dell 9020 is capable of this, and this is how I got it to work. No ...