Author: admin

Fix Error 2502 and 2503 while installing or uninstalling: Well, if you are getting error 2502/2503 internal error when trying to install a new program or uninstalling an existing program then you are at the right place as today we are going to discuss how to resolve this error. The error 2502 and 2503 while installing or uninstalling a program seems to be caused because of permissions issue with the Temp folder of Windows which can be usually found in C:\Windows\Temp.

These are the error you may encounter while installing or uninstalling a program:

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2503.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2502.
Called RunScript when not marked in progress
Called InstallFinalize when no install in progress.

While the issue is not limited to this cause as sometimes virus or malware, incorrect registry, corrupt Windows Installer, incompatible 3rd party programs etc can also cause the error 2502/2503. So without wasting any time let’s see how to actually Fix Error 2502 and 2503 while installing or uninstalling a program in Windows 10 with the help of below-listed troubleshooting guide.

Table of Contents

Fix Error 2502 and 2503 while installing or uninstalling
Method 1: Re-register Windows Installer
Method 2: Run CCleaner and Malwarebytes
Method 3: Run Installer with Admin rights using Command Prompt
Method 4: Run Explorer.exe with administrative privileges
Method 5: Set correct permissions for Windows Installer Folder
Method 6: Set Correct Permissions for Temp Folder
Fix Error 2502 and 2503 while installing or uninstalling
Make sure to create a restore point just in case something goes wrong.
Pro Tip: Try to run the application by right-clicking and then select Run as Administrator.

Method 1: Re-register Windows Installer

1.Press Windows Key + R then type the following and hit Enter: msiexec / unreg

2.Now again open the run dialog box and type msiexec / regserver and hit Enter.

3.This would re-register the Windows Installer. Reboot your PC to save changes.

Method 2: Run CCleaner and Malwarebytes

Perform a Full antivirus scan to make sure your computer is secure. In addition to this run CCleaner and Malwarebytes Anti-malware.
1.Download and install CCleaner & Malwarebytes.
2.Run Malwarebytes and let it scan your system for harmful files.
3.If malware is found it will automatically remove them.
4.Now run CCleaner and in the “Cleaner” section, under the Windows tab, we suggest checking the following selections to be cleaned:

5.Once you’ve made certain the proper points are checked, simply click Run Cleaner, and let CCleaner run its course.
6.To clean your system further select the Registry tab and ensure the following are checked:

7.Select Scan for Issue and allow CCleaner to scan, then click Fix Selected Issues.
8.When CCleaner asks “Do you want backup changes to the registry?” select Yes.
9.Once your backup has completed, select Fix All Selected Issues.
10.Restart your PC to save changes and this should Fix Error 2502 and 2503 while installing or uninstalling a program.

Method 3: Run Installer with Admin rights using Command Prompt

1.Open File Explorer then click View > Options and make sure to check “Show hidden files, folders, and drivers.” Again in the same window uncheck “Hide protected operating system files (Recommended).“

2.Click Apply followed by OK.
3.Press Windows Key + R then type the following and press Enter:
C:\Windows\Installer
4.Right click in an empty area and select View > Details.

5.Now right click on the column bar where Name, Type, Size etc is written and select More.

6.From the list check mark subject and click OK.

7.Now find the correct program which you want to install from the list.

8.Press Windows Key + X then select Command Prompt (Admin).
9.Now type the following and hit Enter:
C:\Windows\Installer\Program.msi

Note: Instead of the program.msi type the name of the .msi file causing the problem and if the file is located in Temp folder then you would type it’s path and press Enter.
10.This would run the installer with administrative rights and you would not face the Error 2502/2503.
11.Reboot your PC to save changes and this should Fix Error 2502 and 2503 while installing or uninstalling a program.

Method 4: Run Explorer.exe with administrative privileges

1.Press Ctrl + Shift + Esc keys together to open Task Manager.
2.Find Explorer.exe then right-click on it and select End Task.

3.Now click on File > Run new task and type Explorer.exe.

4.Check mark Create this task with administrative privileges and click OK.

5.Again try to install/uninstall the program which was earlier giving the error 2502 and 2503.

Method 5: Set correct permissions for Windows Installer Folder

1.Open File Explorer then click View > Options and make sure to check “Show hidden files, folders, and drivers.” Again in the same window uncheck “Hide protected operating system files (Recommended).“

2.Click Apply followed by OK.
3.Now navigate to the following path: C:\Windows
4.Look for Installer folder then right-click on it and select Properties.
5.Switch to Security tab and click Edit under Permissions.

6.Next, make sure Full Control is checked for System and Administrators.

7.If not then select them one by one under group or user names then under permissions check mark Full Control.
8.Click Apply followed by OK.
9.Reboot your PC to save changes.
This should Fix Error 2502 and 2503 while installing or uninstalling a program but if you’re still stuck then follow the steps listed under method 6 for Windows Installer folder also.

Method 6: Set Correct Permissions for Temp Folder

1.Navigate to the following folder in File Explorer: C:\Windows\Temp
2.Right-click on Temp folder and select Properties.
3.Switch to Security tab and then click Advanced.

4.Click Add button and the Permission Entry window will appear.
5.Now click “Select a principal” and type in your user account.

6.If you don’t know your user account name then click Advanced.

7.In the new window that opens click Find now.

8.Select your user account from the list and then click OK.
9.Optionally, to change the owner of all sub folders and files inside the folder, select the check box “Replace owner on subcontainers and objects” in the Advanced Security Settings window. Click OK to change the ownership.

10.Now you need to provide full access to the file or folder for your account. Right-click the file or folder again, click Properties, click the Security tab and then click Advanced.
11.Click the Add button. The “Permission Entry” window will appear on the screen.

12.Click “Select a principal” and select your account.

13.Set permissions to “Full control” and Click OK.

14.Repeat the above steps for the built-in Administrators group.
15.Reboot your PC to save changes.

That’s it you have successfully Fix Error 2502 and 2503 while installing or uninstalling a program in Windows 10 but if you still have any questions regarding this post then feel free to ask them in the comment’s section.

error

 

 

 

 

 

 

Came across an “Excel control error on a client notebook which made word freeze while printing and this are the steps taken to sort it out:

1. Click the Start Button
2. Choose Devices Printers
3. Right click the copier and choose Properties.
4. Choose Preferences (At the lower part of menu box)
5. Click on the Other tab.
6. Click to uncheck the box next to “Excel Job Control”
7. Click Apply then Okay

Every NIC (Network Interface Card) has a unique MAC address (Media Access Control). This applies to all types of network cards, including Ethernet cards and WiFi cards. The MAC Address is a six-byte number or 12-digit hexadecimal number that is used to uniquely identify a host on a network.

An example of a MAC address is 1F-2E-3D-4C-5B-6A and it falls into the Layer 2 networking protocol of the OSI model. In today’s networks, ARP, or Address Resolution Protocol converts a MAC address to a Layer 3 protocol address, such as an IP address. A MAC address can also be called a Physical Address.

 

All MAC addresses are hard-coded into a network card. However, you can change or spoof the MAC address in the operating system itself using a few simple tricks.

So why would you want to change your MAC address? Well there are many reasons for this, mostly related to bypassing some kind of MAC address filter set on a modem, router or firewall. Changing the MAC Address can help you bypass certain network restrictions by emulating an unrestricted MAC Address or by spoofing a MAC address that is already authorized.

For example, a WiFi network may allow only authorized computers to connect to the network and filters out computers based on the MAC address. If you can sniff out a legitimate MAC address, you can then spoof your MAC address and gain access to the WiFi network.

Another example is if you have an ISP that allows only a certain number of computers to connect to the Internet from your home. If you have more computers that need to connect, you can spoof the MAC address of an authorized computer and connect from a different computer.

Change Windows MAC Address

You can change the MAC address for the network card in Windows pretty easily following the steps below.

Step 1: Click on Start, then Control Panel, then Network Connections, and right-click on the network connection you want to change the MAC address for and select Properties. It will normally either be Local Area Connection or Wireless Network Connection.

 

If you are using Windows Vista, Windows 7 or higher, you have to go to Control Panel, then Network and Internet, then Network and Sharing Center, and then click on Manage Network Connections or Change adapter settings.

 

Then you can right-click on the adapter and choose Properties.

Step 2: On the General or Networking tab, click the Configure button.

 

Step 3: Now click on the Advanced tab and click on the Locally Administered Address property or the Network Address property.

 

By default, the Not Present value is selected. Go ahead and click on the Value radio button and enter in a new MAC address. The MAC address is a combination of 6 pairs of numbers and characters, i.e. 40-A2-D9-82-9F-F2. You should enter the MAC address without the dashes.

 

You can go to the command prompt and type in IPCONFIG /ALL to check that the MAC address has been changed. Go ahead and restart the computer in order for the changes to take effect.

This is the simplest way to change your MAC address in Windows. You can also do so via the registry, but it’s much more technical and probably not required by most people.

 

Change OS X MAC Address

Changing the MAC address on OS X is definitely not as easy as it is on Windows. Firstly, you have to use Terminal (similar to command prompt in Windows) to actually change the MAC address.

Secondly, you need to manually figure out the technical name of the adapter before you can change the settings. I’ll explain everything below step by step, but it gets a bit complicated at times.

To start, let’s find out the current MAC address for your Mac. You can do this in one of two ways: via System Preferences or via Terminal. Open System Preferences, click on Networkand then click on the Advanced button. Make sure to select the appropriate interface first (WiFi, Ethernet, etc) in the listbox on the left.

 

Click on the Hardware tab and you will see the first line is MAC Address. I thought you could simply choose Manually from the Configure dropdown, but that doesn’t allow you to edit the MAC address.

 

In Terminal, you can get the MAC address by typing in the following command:

ifconfig en0 | grep ether

This will give you the MAC address for the en0 interface. Depending on how many interfaces you have on your computer, you might need to run this command several times adding 1 to the number each time. For example, I ran the following commands below until I reached an interface that didn’t exist.

 

Now you can simply compare the MAC addresses listed here with the one you saw via System Preferences. In my case, my WiFi MAC address of f8:1e:df:d8:9d:8a matches with en1, so that is the interface I have to use for the next commands.

Before we change the MAC address, you can use a useful command in Terminal to generate a random MAC address if you need one.

openssl rand -hex 6 | sed ‘s/\(..\)/\1:/g; s/.$//’

Now that you have a new MAC address, you can change the current one using the following command below. Replace XX with the actual MAC address you want to use.

sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx

In order to do this, you need to be logged in as an Administrator or you have to enable the root account in OS X. By default, root is disabled and it’s better to leave it disabled if you can. Just login as an admin and you should be able to run the command just fine. It will ask you for your password, though, before changing the MAC address.

Also, the address won’t change if you are still connected to a WiFi network. You need to first disconnect from any networks and then run the command. Surprisingly, disconnecting from a wireless network in OS X is not intuitive at all. You have to press and hold the Option key and then click on the WiFi icon to see the disconnect option.

 

So here is a rundown of all the commands I ran in order to get the current MAC address, generate a random one, update the MAC address and then verify to make sure it had actually changed.

 

As I mentioned earlier, this is definitely not as straightforward as the process is on Windows, but you should be able to do it if you simply copy and paste the commands above. If you have any questions, feel free to post a comment. Enjoy!

Source: Tech-Tips

Server 2012 – Move a DCHP database to a new server.
Continuing from our previous post “Server 2012 – View and moving FSMO roles using mostly GUI” where we move the fsmo roles from the 2008r2 server to the 2012 server, we are now going to move the DHCP role as well.
Content:
1. Installing DHCP Server on Server 2012.
2. Making backup of old DHCP server.
3. Stopping and disabling DHCP server service.
4. Restoring DHCP from backup.
First though, we need to install a DHCP server on our Server 2012:
Installing DHCP server on Server 2012:
1. In Server Maanger -> Manage -> Add Roles and Features, Next, Next, Select your 2012 server and click next.
2. Select the DHCP Server role and click the Add Features when the window pops up.

3. Next, Next, Next. Review the and confirma the installation selection and press Install and finally Close.
4. We now have a new option on our Server Dashboard.

5. Now, we need to Complete the DHCP Configuration. As we have come to know in 2012, this is shown by the exclamation mark as shown below.

6. The Post-Installation process consist of creating security Groups and Authorize the DHCP server for use in our domain. Click Next. Use administrator credentials, which is preselected, and press “Commit”. You should now see the below notification. Press Close.

7. Open DHCP Manager

8. Restart your DHCP server as shown below.
9. Right-click DHCP and “Manage authorized servers…”. Select your old DCHP server and click OK.

10. Right-click your server and choose backup. Choose a target folder for your backup and press OK. (I had to do it on my old server for some reason, which I’m not looking into at this point in time)
Note: The DHCP server make backups by default, which are located at:
systemroot\System32\Dhcp\Backup

11. Stop your 2008r2 DHCP Server to prevent it from giving out new address after we have made a backup.

12. To prevent the DHCP server from starting up again, we need to go to the old 2008r2 server and disable the DHCP server service. Make the selection and press Apply.
After we have stopped and disabled the DHCP server, we can no longer control it from our 2012 Server as shown below.

13. Copy the backup folder you just created to your 2012 server. Right-click your 2012 DHCP server and choose “Restore…”

14. Browse to your backupfolder and click ok. You might get the below warning, click Yes, and Yes to the warning about DHCP server being restarted.

15. You should get a “database was restored successfullly”, as shown below. If you do not, try moving the folder containing the backup to the root of C: drive and make sure the foldername contains no Spaces.

16. Everthing is restored as we can see. Even all my lab reservertaions are in place

– Morten Nielsen