quinta-feira, 31 de outubro de 2019

Sound distorced Windows 10 Guest, Ubuntu 18 host Vmware

https://communities.vmware.com/thread/593842

If the line

sound.virtualDev = "hdaudio"

is present in the Windows 10 VM vmx configuration file; shut down the VM and remove that line.

Removing that line would switch the audio controller from the Microsoft High Definition Audio controller to the VMware VMaudio controller. The VMware VMaudio requires VMware Tools to be installed. In the event Windows 10 VM OS does not automatically pick up the VMware VMaudio driver (leading to no audio and an Unknown device in Device Manager), you may have manually install the VMware audio driver from Device Manager and browse for the driver of the "unknown device" at C:\Program Files\Common Files\VMware\Drivers\audio.



extract the VMware Tools.

From command line run E: 

setup64 /a

and it should prompt for a destination folder to extract the contents to.

Once extraction is complete, you can manually browse for the driver to destination folder that you specified. ( should be under drivers- audio- vista)









quarta-feira, 26 de junho de 2019

Deleted Boot MBR UBUNTU 18.04/ how to repair



use a live CD and install boot repair:

 

Add The PPA

It might seem counter-intuitive, but you can enable a PPA and install software on a live CD. The utility that you need is available through a PPA, so this is the procedure that you'll need to follow in order to use it. Start by enabling the PPA and updating Apt.

$ sudo add-apt-repository ppa:yannubuntu/boot-repair
$ sudo apt update
Confirm that you want to install the PPA when asked.

Install Boot-Repair

Now, you can install Boot-Repair like you normally would with Apt.
$ sudo apt install boot-repair

 Finally, you can run the utility. You can use the same terminal window that you're working in to launch it directly.

quinta-feira, 4 de abril de 2019

UBUNTU - copy connection profiles to another computer




As mentioned by others, Wi-Fi connection files in system-connections directory have the interface MAC address included. This need to match your current setup hence the procedure is:


copy all files from old machine to new machine from/to directory:
/etc/NetworkManager/system-connections


sudo cp -Ri /etc/NetworkManager/system-connections /media/bruno/Elements/bruno-ubuntuPC/system-connections/ 


Now on the new PC:


change MAC address entry in each file from old MAC to new MAC. As root:

cd /etc/NetworkManager/system-connections

sudo sed -i -e 's///' *


Just in case, restart network manager:systemctl restart NetworkManager


service network-manager restart








In the end:




change permissions:


sudo chmod 0600 *
sudo chown root:root *

quarta-feira, 3 de abril de 2019

Fan working non-stop on Ubuntu 18.04 DELL 5480

Fan working non-stop on Ubuntu 18.04 DELL 5480



Ubuntu 18.04 Bionic Beaver
Laptop: Dell 5480
CPU: Intel® Core™ i5


My solution steps (fans immediately shut off on last step):


Download .zip file (or git clone) to disable BIOS fan control for Dell laptops. 





Then, as root:

  • cd Downloads
  • unzip -t dell-bios-fan-control-master.zip (test zipfile; everything looked fine, so unzip files...)
  • unzip dell-bios-fan-control-master.zip
  • cd dell-bios-fan-control-master/
  • more Makefile (look what it's going to do; looks fine, so compile with...)
  • make



Compiled fine, so:
./dell-bios-fan-control 0 (turn off dell bios fan control)
BIOS CONTROL DISABLED


Fan was still idling around 2500rpm. Hmmm.. recalled post indicating uninstall then reinstall i8kutils with the same /etc/i8kutils.conf config file.


Uninstalled and reinstalled i8kutils with:
  • apt-get remove i8kutils
  • apt-get install i8kutils


Fan immediately stopped upon reinstalling i8kutils.


Looks like it's working. Fan turns on properly when cpu temp hits 55C then turns off quickly because fan came on at the high setting.


Will continue to monitor temperature and fan states with 'sensors' to ensure all is working as configured in /etc/i8kutils.conf







check the steps in :

https://askubuntu.com/questions/1029007/fan-working-non-stop-on-ubuntu-18-04

terça-feira, 28 de março de 2017

Reset SA Password for SQL Server Express 2008 R2


Things you need to have:


  • SQL Server Configuration Manager
  • Microsoft SQL Server Management Studio 2008
  • Administrator Login on the computer


1. Log on to the computer as an Administrator (or Any user with administrator privileges)

2. Open "SQL Server Configuration Manager"

3. Click "SQL Server Services" on the left pane

4. Stop "SQL Server" and "SQL Server Agent" instance on the right pane if it is running

5. Run the SQL Express in single-user mode by right clicking on "SQL Server" instance -> Properties.
5.1. Click Advanced Tab, and look for "Startup Parameters". Change the "Startup Parameters" so that the new value will be -m; (without the <>)
example:
from: -dc:\Program Files\Microsoft SQL.............(til end of string)
to: -m;-dc:\
Program Files\Microsoft SQL.............(til end of string)

6. Start the SQL Server

7. Open your MS SQL Server Management Studio and log on to the SQL server with "Windows Authentication" as the authentication mode. Since we have the SQL Server running on single user mode, and you are logged on to the computer with Administrator privileges, you will have a "sysadmin" access to the database.

8. Expand the "Security" node on MS SQL Server Management Studio on the left pane
8.1 Expand the "Logins" node
8.2 Double-click the 'sa' login

9. Change the password by entering a complex password if "Enforce password policy" is ticked, otherwise, just enter any password.

10. Make sure that "sa" Account is "enabled" by clicking on Status on the left pane. Set the radio box under "Login" to "Enabled"

11. Click "OK"

12. Back on the main window of MS SQL Server Management Studio, verify if SQL Server Authentication is used by right clicking on the top most node in the left pane (usually ".\SQLEXPRESS (SQL Server )") and choosing properties.
12.1 Click "Security" in the left pane and ensure that "SQL Server and Windows Authentication mode" is the one selected under "Server authentication"

13. Click "OK"

14. Disconnect from MS SQL Server Management Studio

15. Open "Sql Server Configuration Manager" again and stop the SQL Server instance.

16. Right-click on SQL Server instance and click on "Advanced" tab. Again look for "Startup Parameters" and remove the "-m;" that you added earlier.

17. Click "OK" and start the SQL Server Instance again

You should now be able to log on as "sa" using the new password that you have set in step 9.

quarta-feira, 15 de fevereiro de 2017

Windows 10 Active directory users and computers missing tabs

Credits to jletellier 

https://community.spiceworks.com/topic/1183656-missing-tabs-in-aduc-on-windows-10
 

I'm assuming you guys are running Windows 10 1511. I ran into this myself. Looks like you need to use an older version of the RSAT tool. The current tool offered by Microsoft is version 10.0.14393.347
The version that is working for me is 10.0.10585.0
They don't seem to be hosting it anywhere and it's the same KB#.
I've made it available on Google Drive
https://drive.google.com/file/d/0B-meMiJiVDGATkpyS3J0Q29yZ1U/view?usp=sharing

sexta-feira, 3 de fevereiro de 2017

error 0x80091007 - SCCM windows 10 image says no bootable image after setting up PC

using SCCM and a windows 10 image we get a failure message saying

"no bootable image"


It turns out to be:

Bios settings

1. change the disk type from legacy to uefi native ( for Windows 10 this is imperative)

2. check if the disk is pick up with a tick on boot devices

tick on PCIe/m.2 SSD boot

Working fine now!!