Announcement

Collapse
No announcement yet.

Creating a logon script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creating a logon script

    WIndows2008 64 bits (DC) and Windows7 64 bits Domain Member

    On the DC i created a script, logon.bat using ADUC and the Profile tab of the users' account properties for User X.
    Script run fine (Script loads an application for User X)

    Now i'm looking for a way that when the DC is down , the bat file can still be invoked when User X loggon, so the user will still have his application.

    So i manually put the bat file in windows\syswow64\repl\script (windows7)
    but nothing happened.

    Any idee how to to this

    Thanks in advance

    J

  • #2
    Re: Creating a logon script

    Just copy the script to the users desktop or start menu and tell them to double click it

    If your DC is down you have more important issues, anyway -- consider a second DC to solve both problems!!!
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment


    • #3
      Re: Creating a logon script

      Originally posted by Ossian View Post
      If your DC is down you have more important issues, anyway -- consider a second DC to solve both problems!!!
      Thats the answer right there.

      Comment


      • #4
        Re: Creating a logon script

        You could put the batch file in the all users startup folder, then it will run when every user logs on to the workstation.

        C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
        Please remember to award reputation points if you have received good advice.
        I do tend to think 'outside the box' so others may not always share the same views.

        MCITP -W7,
        MCSA+Messaging, CCENT, ICND2 slowly getting around to.

        Comment


        • #5
          Re: Creating a logon script

          But this would duplicate the logon script and thus launch the application twice
          Tom Jones
          MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
          PhD, MSc, FIAP, MIITT
          IT Trainer / Consultant
          Ossian Ltd
          Scotland

          ** Remember to give credit where credit is due and leave reputation points where appropriate **

          Comment


          • #6
            Re: Creating a logon script

            Originally posted by Ossian View Post
            Just copy the script to the users desktop or start menu and tell them to double click it

            If your DC is down you have more important issues, anyway -- consider a second DC to solve both problems!!!
            True. But all we trying to achieve is that the user can do his work even there is no dc nor a second dc?

            Thanks
            J

            Comment


            • #7
              Re: Creating a logon script

              Add a third DC???

              Seriously, stop and think about the consequences of not having a DC available -- authentication failures, reliance on cached credentials, no DNS.... and concentrate on making your infrastructure robust enough that a DC will always be available.
              Tom Jones
              MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
              PhD, MSc, FIAP, MIITT
              IT Trainer / Consultant
              Ossian Ltd
              Scotland

              ** Remember to give credit where credit is due and leave reputation points where appropriate **

              Comment


              • #8
                Re: Creating a logon script

                Originally posted by jenni View Post
                True. But all we trying to achieve is that the user can do his work even there is no dc nor a second dc?

                Thanks
                J
                If you have no access to DC's your users probably won't be able to work anyway.

                I have never seen a situation where a DC has failed and its partner hs then fallen over as well.

                1 failure yes but a second is pushing it a bit.

                Comment

                Working...
                X