Network is not connecting after startup automatically in Windows

83

Solution 1

Some more information that will help : Windows version, network card make and driver version. I will assume Windows 7.

Fully patch Windows

Call up Windows Update and install all updates, including optional ones.

Check network driver version

Find on the website of the manufacturer of the network card the latest driver for the card (if available), download and install.

Check Windows integrity

Execute sfc /scannow to check the integrity of all protected Windows 7 system files and replace damaged versions with the correct ones (if possible).

Verify TCP/IP Settings

In Control Panel -> Network and Sharing Center -> Change adapter settings, right-click the network adapter and choose Properties.

If you don't use IPv6 in your home network, uncheck Internet Protocol Version 6.

Click on Internet Protocol Version 4 and then Properties, and ensure that both the IP and DNS server addresses are set to automatic.

Reboot.

Reset TCP/IP

Run the Command Prompt (cmd) as Administrator and type

netsh int ip reset c:\resetlog.txt

and press Enter. Reboot.

Last measures

If the above has not resolved the problem, try to see if it arrives when booting in Safe Mode with Network. If it does, then Windows is damaged and should be repaired. If it does not arrive, then some installed product is responsible for the problem.

You might also consider rolling back to a system restore point dating from before the problem occurred, if no other changes were made to Windows in that period beside these of the network card (such as installation of new products).

Solution 2

There could be a variety of symptoms that causes this problem. Can you kindly go to computer manager and then services?

  1. right click 'my computer'
  2. select manage
  3. go to 'services & applications'
  4. navigate to 'services'

Check that all the 'network' services are started, except 'network access point'. Check that the 'dhcp client service' is started automatically (this enables your pc to receive an IP).

Go to command prompt, start > run > cmd. Then do an 'IPCONFIG' before you have to disable and enable your Local area connection. Kindly paste the ipv4 part, this will help with the problem isolation.

Share:
83

Related videos on Youtube

Yohei Umezu
Author by

Yohei Umezu

Updated on September 18, 2022

Comments

  • Yohei Umezu
    Yohei Umezu over 1 year

    I want to retrieve user profile data to show the information in user profile page. In the realtime database, I could insert the data as the picture below. Realtime database

    But some information such as address, business, city, phone and post, those information is undefined, so I cannot retrieve the data.

    My chrome dev tool.

    And this is the dev tool network tab. Network tab. I am using vuex, and this is my code, store/index.js

    import Vue from 'vue'
    import Vuex from 'vuex'
    import fireApp from '@/plugins/firebase'
    //import 'firebase/firebase-auth'
    
    Vue.use(Vuex)
    
    
    export default new Vuex.Store({
      namespaced: true,
      state: {
        user: null,
        error: null,
        busy: false,
        jobDone: false
      },
      mutations: {
        setUser (state, payload) {
          state.user = payload
        },
        setError (state, payload) {
          state.error = payload
        },
        clearError (state) {
          state.error = null
        },
        setBusy (state, payload) {
          state.busy = payload
        },
        setJobDone (state, payload) {
          state.jobDone = payload
        },
      },
      actions: {
    
        loginUser({commit}, payload) {
          commit('setBusy', true)
          commit('clearError')
          //1.login user
          //2.Find group user logins
          //3.set logged in user
          let LoggedinUser = null;
          fireApp.auth().signInWithEmailAndPassword(payload.email, payload.password)
          .then(userCredential => {
              LoggedinUser = userCredential.user;
              var user = fireApp.auth().currentUser;
              
              const authUser = {
                id: user.uid,
                contact: user.displayName,
                business: user.business,
                email: user.email,
                phone: user.phone,
                address: user.address,
                post: user.post,
                city: user.city,
              }
    
              return fireApp.database().ref('groups').orderByChild('name').equalTo('Pro').once('value')
              .then(snapShot => {
                const groupKey = Object.keys(snapShot.val())[0]
                return fireApp.database().ref(`userGroups/${groupKey}`).child(`${authUser.id}`).once('value')
                  .then(ugroupSnap => {
                    if (ugroupSnap.exists()) {
                      authUser.role = 'pro'
                    }
                    
                    console.log('USER', authUser)
                    commit('setUser', authUser)
                    commit('setBusy', false)
                    commit('setJobDone', true)
                  })
              })
          })
          .catch(error => {
              console.log(error)
              commit('setBusy', false)
              commit('setError', error)
          })
      },
    
    
    },
      getters: {
        user (state) {
          return state.user
        },
        loginStatusPro (state) {
          return state.user !== null && state.user !== undefined
        },
        userRole (state) {
          const isLoggedIn = state.user !== null && state.user !== undefined
          return(isLoggedIn) ? state.user.role : 'Pro'
        },
        error (state) {
          return state.error
        },
        busy (state) {
            return state.busy
        },
        jobDone (state) {
            return state.jobDone
        }
      },
      modules: {
        
      
      }
    })
    

    This is user profile page. Profile.vue

    <script>
    import ErrorBar from '@/components/ErrorBar'
    import apiJobMixin from '@/mixins/apiJobMixin'
        export default {
            data() {
            return {
                //contact: "",
                business: "",
                address: "",
                post: "",
                city: "",
            }
            },
            mixins: [apiJobMixin],
            components: {
                ErrorBar: ErrorBar
            },
            created () {
                this.$store.commit('clearError')
                const user = this.$store.getters.user
                if (user) {
                    //this.contact = user.contact
                    this.business = user.business
                    this.address = user.address
                    this.post = user.post
                    this.city = user.city
                }
            }, 
            computed: {      
                userData () {
                    return this.$store.getters.user
                }
            },
            watch: {      
                userData (value) {
                    if (value) {
                        //this.contact = value.contact
                        this.business = value.business
                        this.address = value.address
                        this.post = value.post
                        this.city = value.city
                    }
                }
            }
        }
    </script>
    

    I hope you can help me out.