Leaving domain, joining a workgroup, rejoining domain to validate software install????

I can't find anything on this... we are running on servers with no routers... no subnets... just cat 6 running from servers to small poe switches where they interface computers or telephones when they get to the rooms.  we run into problems where
our windows software loses its validation... i'm guessing it's missing updates when things collide and declaring windows as non genuine... then the procedure has been to remove the computer from the domain by putting it into a workgroup and then put it back
into the domain... and windows is supposed to validate itself through this procedure.  i can't find anything written on this and am starting to suspect that what re-validates windows is bringing it into the shop right next to the server so it gets it's
updates... can anyone tell me where to find information on this?
Frank Cottrell

That is really a lot of effort to do something simple.
you can use slmgr /ato
to reactivate windows. By default, Windows also needs to reconnect to the KMS every 180 days or it will think it is not genuine. Does this un-activating happen at specific times after activation or is is random? That might indicate that after initial activation,
it no longer reconnects automatically. One reason might be that the required services are not running.
Here are some good troubleshooting tips that might get you further info:
http://technet.microsoft.com/en-us/library/ee939272.aspx

Similar Messages

  • Auto Join Domain using WAIK without install Operating System Image

    Hi all, i have a question.
    In my Environment, i have requirement like this :
    If user get new laptop with operating system already installed,
    is it possible to automatic join domain when user plug in LAN cable to their computer?
    I already explore about this and i found WAIK can help me to auto join domain, but i must install that OS image too.
    I just want to auto join domain, is it possible to skip install OS image process when i using WAIK?
    Can i get a solution for my requirement?
    Thanks for help!
    Best Regards,
    Henry Stefanus

    http://technet.microsoft.com/en-us/library/offline-domain-join-djoin-step-by-step(v=ws.10).aspx
    Help your self :)
    UMESH DEUJA MCP,MCTS,MCSA,CCNA

  • Which unity accts can I take off "domain admin" group after install

    Hi
    Unity 5.X in UM mode - Which unity accts can I take off "domain admin" group after install (ie unityinstall, unityadmin, UnityMsgStoreSvc, UnityDirSVC etc..)
    and if I do so, what is the impact or if I want to upgrade in the future?
    Thanks

    UnityInstall should be the most powerful account and is the only account that should be added to the Domain Admins group by the Permissions Wizard.  This is definitely true for Exchange 200, 2003, and 2007.  I've not dealt with a lot of customers on 2010 yet so this could have changed; however, I doubt it.  You can verify what I'm telling you here:
    http://www.ciscounitytools.com/Applications/Unity/PermissionsWizard/Unity403_411/Help/PWHelpPermissionsSet_ENU.htm
    This link will tell you what permissions and group memberships are set at a high level for all the Unity service accounts.
    To clarify what Jonathan said, by "downgrade" the UnityInstall account - the rule of thumb is this:
    Cisco supports that you DISABLE the UnityInstall account, if desired, after an installation.  This account should only be used during installation activities.  However, DO NOT DELETE the account in AD.  So, again - disabling the account is OK.
    Hailey
    Please rate helpful posts!

  • I own CS4, upgraded to CS5, then joined CS6, CC... and now I installed CC14. Which will be the best way to delete or uninstall the programs I don't need keeping only CC14 without running into issues? I have an Alienware Area 51 PC running Windows 7.

    I own CS4, upgraded to CS5, then joined CS6, CC... and now I installed CC14. Which will be the best way to delete or uninstall the programs I don't need keeping only CC14 without running into issues? I have an Alienware Area 51 PC running Windows 7.

    Which will be the best way to delete or uninstall the programs I don't need keeping only CC14 without running into issues?
    There is none. Whatever you do to get rid of the older versions will inevitably do damage to shared components and other stuff of the new versions as well. That's just how it is with this approach... Uninstall the older versions, run the cleaner tool then reinstall CC 2014.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Mylenium

  • Clients can't rejoin domain after server clean install

    Hello, I've got an issue with having client computers rejoin the domain after reinstalling the server software. Another post I read suggested saving the plist files to get the settings the same, but I need to reconfigure manually to eliminate some other problems we've been having.
    We've got an Xserve running 10.4.8 with a mix of XP and Tiger clients all authenticating with the server. Our XP clients have remote profiles converted to local and our Tiger clients use mobile accounts. Generally things were running OK, but we kept having some authentication issues and have SMB crashes. In reviewing our log files it was suggested that our Open Directory was messed up (probably during our upgrade from 10.3 to 10.4) and that a clean install was the best course of action. The server has been running 24x7 for over 3 years without any signifigant maintenance, so this seemed like a good idea.
    Everything was going great. I did the clean install and had DNS and DHCP configured and working, then started setting up Open Directory as the PDC and Windows Services as the Primary WINS. I had intended to recreate the user accounts because I didn't want to reintroduce problems by restoring the settings, however when I added one account and tested logging in on a XP machine it couldn't authenticate even though the domain name and user name was the same as before (short names too). On a whim, I moved the computer from the domain to WORKGROUP and then rejoined the (new) domain. Upon login it created a new roaming profile named user.domain instead of using the other account already there. On the XP client in accounts, the old profile showed up as unknown. I then went to a Mac and tried to log in and had similiar issues not finding the authenticating server.
    After pulling my hair out this evening and realizing that there was no way I was going to have the office operation in the morning, I did a full restore from backup and pretended like I hadn't just wasted my weekend. After I got the server running, I was able to get my client machines to see the domain again and all is as it was.
    Soooo, now the question is how do I create a clean installation with newly created user accounts and get the client computers to recognize the domain server as the same old one? Is there a hidden domain ID or something that is telling the client computers that it isn't the same domain or LDAP server? Any suggestions would be greatly appreciated.
    Thanks.
    xserve G4 & XRaid   Mac OS X (10.4.8)  

    Sorry, to clarify I did not want to use the archive & restore because I didn't want to reintroduce the errors I was trying to eliminate. I setup the Open Directory as a PDC from scratch and then ran into the client authtenication issue. In a desperate attempt to salvage the situation I did restore the previous settings which (A) didn't work and (B) may have made things worse because I already had created some groups and a few users and ended up with groups with duplicate IDs. That was when I scrapped everything and restored the disk from backup.
    Your idea of using export/import is a slightly different avenue. However, now that I'm thinking about it, I didn't even get far enough for the user profiles to be an issue because the client computers weren't even communicating with the server to get the list of users (the Macs log-in by selecting a user name from a list).
    Does export/import of a computer list work? I think I tried to import the computer list last night and the one I had only contained the Macs and these didn't preserve the MAC address info for some reason. I didn't have an export of the XP machines, but tried to manually add them to the list with no success.
    Thanks again for your help.

  • Near caches disappearing on cluster leave then join

    In the situation where a node gets dropped from the cluster, either because of GC pauses, network problems or whatever, normally it will manage to join back into the cluster and all of the distributed caches come back. However it seems that near caches are not recreated when the node rejoins the cluster. This is very problematic as although the system seems to be healthy, its performance is dramatically reduced.
    Why are these caches not being recreated? Is there some configuration to ensure this happens?
    This is using Coherence 3.4. I haven't tested the 3.5 behavior yet.

    Hi CormacB,
    I guess you are referring to the fact that during "disconnect" the content of the front tier of the near cache is cleared. It is done to prevent the client using stale data. After the re-connect, the front map will start "refilling" from the back tier as the application gets the data, which is no different with what happens upon the near cache initialization.
    Regards,
    Gene

  • Domain boot error while installing Peoplesoft

    Attempting to boot domain and getting following error as per logs:
    013916.SARANSH1!PSADMIN.4468: Begin attempt on domain FS91DMO
    014041.SARANSH1!tmadmin.4832.4164.-2: TMADMIN_CAT:1330: INFO: Command: boot -A
    014103.SARANSH1!tmboot.5760.6016.-2: 06-01-2013: Tuxedo Version 10.3.0.0 with VS2008, 32-bit
    014103.SARANSH1!tmboot.5760.6016.-2: TUXNT_CAT:24: ERROR: Cannot access ipc server pipe '\\.\pipe\OracleProcMGR_V10.3.0.0_VS2008' (The system cannot find the file specified.
    014103.SARANSH1!tmboot.5760.6016.-2: LIBTUX_CAT:681: ERROR: Failure to create message queue
    014103.SARANSH1!tmboot.5760.6016.-2: FATAL: internal error: CMDTUX_CAT:1098: ERROR: Can't create queue
    014230.SARANSH1!tmboot.1436.5728.-2: 06-01-2013: Tuxedo Version 10.3.0.0 with VS2008, 32-bit
    014230.SARANSH1!tmboot.1436.5728.-2: TUXNT_CAT:16: ERROR: Cannot access Service Manager (Access is denied.
    014230.SARANSH1!tmboot.1436.5728.-2: TUXNT_CAT:20: WARN: Service 'Oracle ProcMGR V10gR3 with VS2008' could not be started
    014230.SARANSH1!tmboot.1436.5728.-2: TUXNT_CAT:21: WARN: All applications will exit when console user logs off
    014250.SARANSH1!tmboot.1436.5728.-2: TUXNT_CAT:24: ERROR: Cannot access ipc server pipe '\\.\pipe\OracleProcMGR_V10.3.0.0_VS2008' (The system cannot find the file specified.
    014250.SARANSH1!tmboot.1436.5728.-2: LIBTUX_CAT:681: ERROR: Failure to create message queue
    014250.SARANSH1!tmboot.1436.5728.-2: FATAL: internal error: CMDTUX_CAT:1098: ERROR: Can't create queue
    014250.SARANSH1!PSADMIN.4468: End boot attempt on domain FS91DMO
    Please help me in rectifying this error.

    Sounds like something is wrong with the Oracle ProcMGR service or the IPC configuration. Is it running? What user is it setup to "Log On As"? Review the Tuxedo Installation section of the Install guide again. What tools release? Maybe try reinstalling Tuxedo. Did you do the Full Install?

  • How WLS makes one JMSServer leave or join a distributed destination?

    HI,
              According to the WLS documents for Distributed Destination:
              When one member becomes unavalibale due a server failure, traffic is then redirected toward other avaliable destination members in the set.
              Currently, I created two queues and defined two JMS Servers (JMSServer1, JMSServer2). These two JMS Servers are in same distributed destination (JMSDes1).
              My question is
              1) when the JMSServer1 is shutdown, How WLS marked it unavaliable? And How WLS makes it leave the JMSDes1? (If you can know where I can find the documents, it will be greate).
              2) After the JMSServer1 is recycled and is active, how WLS markes it avaliable and makes it join the JMSDes1 again?
              Thanks for any help.

    HI,
              According to the WLS documents for Distributed Destination:
              When one member becomes unavalibale due a server failure, traffic is then redirected toward other avaliable destination members in the set.
              Currently, I created two queues and defined two JMS Servers (JMSServer1, JMSServer2). These two JMS Servers are in same distributed destination (JMSDes1).
              My question is
              1) when the JMSServer1 is shutdown, How WLS marked it unavaliable? And How WLS makes it leave the JMSDes1? (If you can know where I can find the documents, it will be greate).
              2) After the JMSServer1 is recycled and is active, how WLS markes it avaliable and makes it join the JMSDes1 again?
              Thanks for any help.

  • Coherence multicast issue - nodes leaves, cannot join back

    We have six nodes in a cluster. We use multicast with a TTL=1. The nodes are all part of same VLAN.
    After certain period of inactivity, we see multiple nodes leaving the cluster with messages like below...
    2011-11-22 18:47:52,973 ERROR [STDERR] 2011-11-22 18:47:52.972/1840.837 Oracle Coherence GE 3.5.1/461 <Error> (thread=PacketListenerN, member=2): Stopping cluster due to unhandled exception: com.tangosol.net.messaging.ConnectionException: Unable to refresh sockets: [UnicastUdpSocket{State=STATE_OPEN, address:port=10.137.2.64:8088}, MulticastUdpSocket{State=STATE_OPEN, address:port=224.3.5.7:35473, InterfaceAddress=10.137.2.64, TimeToLive=1}, TcpSocketAccepter{State=STATE_OPEN, ServerSocket=10.137.2.64:8088}]; last failed socket: MulticastUdpSocket{State=STATE_OPEN, address:port=224.3.5.7:35473, InterfaceAddress=10.137.2.64, TimeToLive=1}
         at com.tangosol.coherence.component.net.Cluster$SocketManager.refreshSockets(Cluster.CDB:91)
         at com.tangosol.coherence.component.net.Cluster$SocketManager$MulticastUdpSocket.onInterruptedIOException(Cluster.CDB:9)
         at com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:33)
         at com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:4)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:19)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.net.SocketTimeoutException: Receive timed out
         at java.net.PlainDatagramSocketImpl.receive0(Native Method)
         at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:145)
         at java.net.DatagramSocket.receive(DatagramSocket.java:725)
         at com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:20)
         at com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:4)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketListener.CDB:19)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Thread.java:662)
    2011-11-22 18:47:52,973 ERROR [STDERR] 2011-11-22 18:47:52.973/1840.838 Oracle Coherence GE 3.5.1/461 <D5> (thread=Cluster, member=2): Service Cluster left the cluster
    2011-11-22 18:47:53,093 ERROR [STDERR] 2011-11-22 18:47:53.090/1840.955 Oracle Coherence GE 3.5.1/461 <D5> (thread=DistributedCache, member=2): Service DistributedCache left the cluster+
    The exact same message appears on 4 out of 6 nodes. Other two nodes then join back and form a smaller cluster.
    When the next request goes to one of the "dead" node, that node tries to join back with the original cluster and it fails with the message below. The same kind of message happens on another server as well. Thus neither can join back the original cluster or form a new one.
    Questions:
    *1. Why would the members leave?"*
    *2. When they try to join back why do they get exceptions trying to join back to the cluster?"*
    *3. What are the recommendation to ensure that the members can join back? How can we increase the retry count so that they don't give up on retrying after 3 attempts?"*
    *4. Is there something to be concerned about when it says "Service DistributedCache left the cluster"? What is its meaning?*
    2011-11-23 14:11:31,559 ERROR [STDERR] 2011-11-23 14:11:31.559/71659.424 Oracle Coherence GE 3.5.1/461 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2011-11-23 14:11:58,045 ERROR [STDERR] 2011-11-23 14:11:58.045/71685.910 Oracle Coherence GE 3.5.1/461 <Warning> (thread=Cluster, member=n/a): This Member(Id=0, Timestamp=2011-11-23 14:11:31.499, Address=10.137.2.64:8088, MachineId=33088, Location=site:company.net,machine:host2,process:3527) has been attempting to join the cluster at address 224.3.5.7:35473 with TTL 1 for 26 seconds without success; this could indicate a mis-configured TTL value, or it may simply be the result of a busy cluster or active failover.
    2011-11-23 14:11:58,047 ERROR [STDERR] 2011-11-23 14:11:58.047/71685.912 Oracle Coherence GE 3.5.1/461 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
    Message "SeniorMemberHeartbeat"
    FromMember=Member(Id=1, Timestamp=2011-11-22 18:15:41.108, Address=10.137.2.63:8088, MachineId=33087, Location=site:ie.intuit.net,machine:qypprdfisap01,process:13982, Role=JavaLangThread)
    FromMessageId=0
    Internal=false
    MessagePartCount=1
    PendingCount=0
    MessageType=17
    ToPollId=0
    Poll=null
    Packets
    [000]=Broadcast{PacketType=0x0DDF00D2, ToId=0, FromId=1, Direction=Incoming, ReceivedMillis=14:11:58.45, MessageType=17, MessagePartCount=1, MessagePartIndex=0, Body=0x0000000133CE3505340A89023F00000000000000000000000040001F980000813F0001050104040E636C75737465723A3078433541420D69652E696E747569742E6E6574400D71797070726466697361703031053133393832400E4A6176614C616E67546872656164000000000133D27C381B010000000500, Body.length=121}
    Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE), Id=0, Version=3.5}
    ToMemberSet=null
    NotifySent=false
    LastRecvTimestamp=Wed Nov 23 14:11:56 PST 2011
    MemberSet=MemberSet(Size=2, BitSetCount=1, ids=[1, 3])
    2011-11-23 13:24:03,630 ERROR [STDERR] 2011-11-23 13:24:03.628/68794.632 Oracle Coherence GE 3.5.1/461 <D5> (thread=Cluster, member=n/a): Service Cluster left the cluster
    2011-11-23 13:24:03,632 ERROR [STDERR] 2011-11-23 13:24:03.632/68794.636 Oracle Coherence GE 3.5.1/461 <Error> (thread=ajp-0.0.0.0-8009-1, member=n/a): Error while starting cluster: com.tangosol.net.RequestTimeoutException: Timeout during service start: ServiceInfo(Id=0, Name=Cluster, Type=Cluster
    MemberSet=ServiceMemberSet(
    OldestMember=n/a
    ActualMemberSet=MemberSet(Size=0, BitSetCount=0
    MemberId/ServiceVersion/ServiceJoined/ServiceLeaving
    )

    Please do a test with %Coherence_Home%\bin\multicast-test.cmd to check that multicast is OK....
    and the do a test with %Coherence_Home%\bin\datagram-test.cmd to check your network performance....
    Look at the documentation it is well documented...

  • Renaming domain with Exchange 2013 installed in AD

    Hello, 
    We installed Exchange 2013 into a Windows 2003 Domain (Forest and Domain are Native 2003).  The internal FQDN is for example internal.local  and the external FQDN is external.com. 
    We created a certificate request in exchange that included both the internal and external FQDN’s for a 5 domain UCC certificate from godaddy.com.  When requesting the cert all
    of the .local addresses were removed (was 10 domain names but who wants to pay more).  When we install the certificate on the exchange server and assign services to the certificate, OWA works externally without issue but internally OWA and outlook do
    not work (certificate errors).
    Is the following our only course of action or do we have another option?
    Un-install Exchange (we’ll backup the user mailboxes via pst file as there are less than 10 mailboxes)
    Rename the domain
    Install Exchange 2013 again
    Re-build the mailboxes

    As others mentioned, it would not be a good idea here to rename your domain. It would be better to review the DNS names used internally to make sure that they are in the scope of the used certificate. You might consider using a split-DNS setup for internal
    users if the certificate you use contains only external DNS domains.
    For renaming an AD domain, you can refer to that: http://technet.microsoft.com/en-us/library/cc738208(v=ws.10).aspx
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Get Active Directory User Last Logon
    Create an Active Directory test domain similar to the production one
    Management of test accounts in an Active Directory production domain - Part I
    Management of test accounts in an Active Directory production domain - Part II
    Management of test accounts in an Active Directory production domain - Part III
    Reset Active Directory user password

  • Attendance and Leave table Join

    Hi,
    I want to join both of the following tables "Attendance" and "Leave", common key is EMP# = EMPLOYEE_NUMBER but the problem is that the Leave table stores range(start and end date) of leaves not daily record in this case how can I generate each day record from Leave table(where leaves defined as Start and End date) to join with Attendance table or any other solution anyone suggest.
    Thanks & Regards,
    Syed Khawar
    Attendance Table
    --CREATE ATTENDANCE TABLE
    CREATE TABLE ATTENDANCE
    (EMP_ID VARCHAR2(20), ATT_DATE DATE,
    TIMEIN DATE, TIMEOUT DATE, LATE_IN VARCHAR2(10), EARLY_OUT VARCHAR2(10), REASON VARCHAR2(10));
    --INSERT INTO ATTENDANCE
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/01/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:31:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:02:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/02/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:31:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:05:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/03/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:18:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:18:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '07:42');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/07/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:47:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:06:00', 'MM/DD/YYYY HH24:MI:SS'), '00:17',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/08/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:44:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:14:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/09/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:20:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:08:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/10/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:28:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:02:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/11/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:26:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 14:59:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/14/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:25:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:10:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/15/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:42:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:07:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/16/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:20:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:08:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/17/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:38:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:06:00', 'MM/DD/YYYY HH24:MI:SS'), '00:00',
        '00:00');
    Insert into ATTENDANCE
       (EMP_ID, ATT_DATE, TIMEIN, TIMEOUT, LATE_IN, EARLY_OUT)
    Values
       ('0265', TO_DATE('07/18/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 07:54:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2012 15:02:00', 'MM/DD/YYYY HH24:MI:SS'), '00:24',
        '00:00');
    COMMIT;
    --SAMPLE DATA
    EMP_ID     ATT_DATE     TIMEIN     TIMEOUT     LATE_IN     EARLY_OUT     REASON
    265     01/07/2012     01/08/2012 7:31     01/08/2012 15:02     0:00     0:00     
    265     02/07/2012     01/08/2012 7:31     01/08/2012 15:05     0:00     0:00     
    265     03/07/2012     01/08/2012 7:18     01/08/2012 7:18     0:00     7:42     
    265     07/07/2012     01/08/2012 7:47     01/08/2012 15:06     0:17     0:00     
    265     08/07/2012     01/08/2012 7:44     01/08/2012 15:14     0:00     0:00     
    265     09/07/2012     01/08/2012 7:20     01/08/2012 15:08     0:00     0:00     
    265     10/07/2012     01/08/2012 7:28     01/08/2012 15:02     0:00     0:00     
    265     11/07/2012     01/08/2012 7:26     01/08/2012 14:59     0:00     0:00     
    265     14/07/2012     01/08/2012 7:25     01/08/2012 15:10     0:00     0:00     
    265     15/07/2012     01/08/2012 7:42     01/08/2012 15:07     0:00     0:00     
    265     16/07/2012     01/08/2012 7:20     01/08/2012 15:08     0:00     0:00     
    265     17/07/2012     01/08/2012 7:38     01/08/2012 15:06     0:00     0:00     
    265     18/07/2012     01/08/2012 7:54     01/08/2012 15:02     0:24     0:00     
    Leave Table
    --CREATE LEAVE TABLE
    CREATE TABLE LEAVE
      EMPLOYEE_NUMBER  VARCHAR2(30 BYTE),
      LEAVE_TYPE       VARCHAR2(30 BYTE)            NOT NULL,
      LEAVE_REASON     VARCHAR2(240 BYTE),
      DATE_START       DATE,
      DATE_END         DATE
    --INSERT LEAVE TABLE
    Insert into LEAVE
       (EMPLOYEE_NUMBER, LEAVE_TYPE, LEAVE_REASON, DATE_START, DATE_END)
    Values
       ('0265', 'Emergency leave', 'Emergency', TO_DATE('07/04/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/04/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into LEAVE
       (EMPLOYEE_NUMBER, LEAVE_TYPE, LEAVE_REASON, DATE_START, DATE_END)
    Values
       ('0265', 'Annual Leave', 'Vacation', TO_DATE('06/23/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('06/25/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into LEAVE
       (EMPLOYEE_NUMBER, LEAVE_TYPE, LEAVE_REASON, DATE_START, DATE_END)
    Values
       ('0265', 'Emergency leave', 'Emergency', TO_DATE('06/04/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('06/04/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into LEAVE
       (EMPLOYEE_NUMBER, LEAVE_TYPE, LEAVE_REASON, DATE_START, DATE_END)
    Values
       ('0265', 'Annual Leave', 'Vacation', TO_DATE('02/12/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('02/14/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into LEAVE
       (EMPLOYEE_NUMBER, LEAVE_TYPE, LEAVE_REASON, DATE_START, DATE_END)
    Values
       ('0265', 'Annual Leave', 'Vacation', TO_DATE('03/08/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('03/08/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into LEAVE
       (EMPLOYEE_NUMBER, LEAVE_TYPE, LEAVE_REASON, DATE_START, DATE_END)
    Values
       ('0265', 'Annual Leave', 'Vacation', TO_DATE('06/18/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('06/19/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into LEAVE
       (EMPLOYEE_NUMBER, LEAVE_TYPE, LEAVE_REASON, DATE_START, DATE_END)
    Values
       ('0265', 'Annual Leave', 'Vacation', TO_DATE('07/03/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/06/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into LEAVE
       (EMPLOYEE_NUMBER, LEAVE_TYPE, LEAVE_REASON, DATE_START, DATE_END)
    Values
       ('0265', 'Annual Leave', 'Vacation', TO_DATE('08/01/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/01/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into LEAVE
       (EMPLOYEE_NUMBER, LEAVE_TYPE, LEAVE_REASON, DATE_START, DATE_END)
    Values
       ('0265', 'Annual Leave', 'Vacation', TO_DATE('08/20/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('08/20/2011 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;
    --SAMPLE DATA
    EMPLOYEE_NUMBER     LEAVE_TYPE     LEAVE_REASON     DATE_START     DATE_END
    0265     Emergency leave     Emergency     04/07/2012     04/07/2012
    0265     Annual Leave     Vacation     23/06/2012     25/06/2012
    0265     Emergency leave     Emergency     04/06/2012     04/06/2012
    0265     Annual Leave     Vacation     12/02/2011     14/02/2011
    0265     Annual Leave     Vacation     08/03/2011     08/03/2011
    0265     Annual Leave     Vacation     18/06/2011     19/06/2011
    0265     Annual Leave     Vacation     03/07/2011     06/07/2011
    0265     Annual Leave     Vacation     01/08/2011     01/08/2011
    0265     Annual Leave     Vacation     20/08/2011     20/08/2011
    --Expected Output
    EMP_ID     ATT_DAY     ATT_DATE     TIMEIN     TIMEOUT     LATE_IN     EARLY_OUT     REASON
    0265     Sunday        01/07/2012     7:31     15:02     0:00     0:00     
    0265     Monday        02/07/2012     7:31     15:05     0:00     0:00     
    0265     Tuesday       03/07/2012     7:18     7:18     0:00     7:42     
    0265     Wednesday     04/07/2012                         Emergency
    0265     Saturday      07/07/2012     7:47     15:06     0:17     0:00     
    0265     Sunday        08/07/2012     7:44     15:14     0:00     0:00     
    0265     Monday        09/07/2012     7:20     15:08     0:00     0:00     
    0265     Tuesday       10/07/2012     7:28     15:02     0:00     0:00     
    0265     Wednesday     11/07/2012     7:26     14:59     0:00     0:00     
    0265     Saturday      14/07/2012     7:25     15:10     0:00     0:00     
    0265     Sunday        15/07/2012     7:42     15:07     0:00     0:00     
    0265     Monday        16/07/2012     7:20     15:08     0:00     0:00     
    0265     Tuesday       17/07/2012     7:38     15:06     0:00     0:00     
    0265     Wednesday     18/07/2012     7:54     15:02     0:24     0:00     Fixed Attendance table creation & Insert statements
    Edited by: Syed Khawar on Aug 6, 2012 10:09 PM

    Quite tricky. Your create script doesn't work, I changed the times to character, but probably you should just include the time in the main date fields. My solution supplies a record for each day between first and last record in attendance for each employee in either table, and to make a better test case I added an employee on leave the whole time. You can tweak to handle weekends, and other non-leave absences if you like.
    Input Data
    EMP_I ATT_DAY   ATT_DATE  TIMEIN   TIMEO LATE_IN    EARLY_OUT  REASON
    0265  Sunday    01-JUL-12 07:31    15:02 00:00      00:00
    0265  Monday    02-JUL-12 07:31    15:05 00:00      00:00
    0265  Tuesday   03-JUL-12 07:18    07:18 00:00      07:42
    0265  Saturday  07-JUL-12 07:47    15:06 00:17      00:00
    0265  Sunday    08-JUL-12 07:44    15:14 00:00      00:00
    0265  Monday    09-JUL-12 07:20    15:08 00:00      00:00
    0265  Tuesday   10-JUL-12 07:28    15:02 00:00      00:00
    0265  Wednesday 11-JUL-12 07:26    14:59 00:00      00:00
    0265  Saturday  14-JUL-12 07:25    15:10 00:00      00:00
    0265  Sunday    15-JUL-12 07:42    15:07 00:00      00:00
    0265  Monday    16-JUL-12 07:20    15:08 00:00      00:00
    0265  Tuesday   17-JUL-12 07:38    15:06 00:00      00:00
    0265  Wednesday 18-JUL-12 07:54    15:02 00:24      00:00
    13 rows selected.
    EMPLO LEAVE_TYPE                     LEAVE_REASON    DATE_STAR DATE_END
    0265  Emergency leave                Emergency       04-JUL-12 04-JUL-12
    0265  Annual Leave                   Vacation        23-JUN-12 25-JUN-12
    0265  Emergency leave                Emergency       04-JUN-12 04-JUN-12
    0265  Annual Leave                   Vacation        12-FEB-11 14-FEB-11
    0265  Annual Leave                   Vacation        08-MAR-11 08-MAR-11
    0265  Annual Leave                   Vacation        18-JUN-11 19-JUN-11
    0265  Annual Leave                   Vacation        03-JUL-11 06-JUL-11
    0265  Annual Leave                   Vacation        01-AUG-11 01-AUG-11
    0265  Annual Leave                   Vacation        20-AUG-11 20-AUG-11
    99999 Annual Leave                   Vacation        01-JUL-12 18-JUL-12
    10 rows selected.Solution
    EMP_I DAY       TIMEIN   TIMEO LATE_IN    EARLY_OUT  REASON
    0265  01-JUL-12 07:31    15:02 00:00      00:00
    0265  02-JUL-12 07:31    15:05 00:00      00:00
    0265  03-JUL-12 07:18    07:18 00:00      07:42
    0265  04-JUL-12                                      Emergency
    0265  05-JUL-12
    0265  06-JUL-12
    0265  07-JUL-12 07:47    15:06 00:17      00:00
    0265  08-JUL-12 07:44    15:14 00:00      00:00
    0265  09-JUL-12 07:20    15:08 00:00      00:00
    0265  10-JUL-12 07:28    15:02 00:00      00:00
    0265  11-JUL-12 07:26    14:59 00:00      00:00
    0265  12-JUL-12
    0265  13-JUL-12
    0265  14-JUL-12 07:25    15:10 00:00      00:00
    0265  15-JUL-12 07:42    15:07 00:00      00:00
    0265  16-JUL-12 07:20    15:08 00:00      00:00
    0265  17-JUL-12 07:38    15:06 00:00      00:00
    0265  18-JUL-12 07:54    15:02 00:24      00:00
    99999 01-JUL-12                                      Vacation
    99999 02-JUL-12                                      Vacation
    99999 03-JUL-12                                      Vacation
    99999 04-JUL-12                                      Vacation
    99999 05-JUL-12                                      Vacation
    99999 06-JUL-12                                      Vacation
    99999 07-JUL-12                                      Vacation
    99999 08-JUL-12                                      Vacation
    99999 09-JUL-12                                      Vacation
    99999 10-JUL-12                                      Vacation
    99999 11-JUL-12                                      Vacation
    99999 12-JUL-12                                      Vacation
    99999 13-JUL-12                                      Vacation
    99999 14-JUL-12                                      Vacation
    99999 15-JUL-12                                      Vacation
    99999 16-JUL-12                                      Vacation
    99999 17-JUL-12                                      Vacation
    99999 18-JUL-12                                      Vacation
    36 rows selected.
      1  WITH ext AS (
      2  SELECT Min (att_date) min_date, Max (att_date) - Min (att_date) + 1 n_days
      3    FROM attendance
      4  ), dys AS (
      5  SELECT min_date + LEVEL - 1 day
      6    FROM ext
      7  CONNECT BY LEVEL < n_days + 1
      8  ), ems AS (
      9  SELECT emp_id
    10    FROM attendance
    11   UNION
    12  SELECT employee_number
    13    FROM leave
    14  ), edy AS (
    15  SELECT
    16      dys.day,
    17      ems.emp_id
    18    FROM dys
    19   CROSS JOIN ems
    20  ), ldy AS (
    21  SELECT
    22      edy.emp_id,
    23      edy.day,
    24      lve.leave_reason
    25    FROM edy
    26    JOIN leave                lve
    27      ON edy.day              BETWEEN lve.date_start AND lve.date_end
    28     AND lve.employee_number  = edy.emp_id
    29  ), uni AS (
    30   SELECT
    31      emp_id,
    32      att_date,
    33      timein,
    34      timeout,
    35      late_in,
    36      early_out,
    37      reason
    38    FROM attendance
    39  UNION
    40  SELECT
    41      emp_id,
    42      day,
    43      NULL,
    44      NULL,
    45      NULL,
    46      NULL,
    47      leave_reason
    48    FROM ldy
    49  )
    50   SELECT
    51      edy.emp_id,
    52      edy.day,
    53      uni.timein,
    54      uni.timeout,
    55      uni.late_in,
    56      uni.early_out,
    57      uni.reason
    58    FROM edy
    59    LEFT JOIN uni
    60      ON uni.att_date     = edy.day
    61     AND uni.emp_id       = edy.emp_id
    62*  ORDER BY 1, 2

  • Changing the host.domain once R12 is installed..

    Hello all,
    We installed R12 on a brand new machine (named localhost.localdomain). It installed fine and we were able to get to it by http://<ipaddress>:8000. The system administrator wants to change this to <XYZHOST>.<ABCDOMAIN>. What do we need to ensure that the app still functions correctly?
    We have changed /etc/hosts
    127.0.0.1 <XYZHOST>.<ABCDOMAIN>
    and am able to ping by name and Ip.
    We are having no problem logging and looking at the JSP pages of R12. The forms however are not cooperating at all :). Any ideas/suggestions will be greatly appreciated.
    Thanks
    Sury

    We have changed /etc/hosts
    127.0.0.1 <XYZHOST>.<ABCDOMAIN>keep this as before and add new line with your ipaddress and your hostname.domainname then follow mdtaylor insractions
    ip_address hostname.domainname
    fadi

  • Can I resize my existing Bootcamp partition (leaving XP Pro behind) while doing a clean Win 7 install?

    I currently have a Bootcamp partition (30 Gb or so) running XP pro.  I want to switch to Win 7, which I understand requires a clean install since there is no upgrade path from XP directly to Win7.  While doing so I want to increase the size of my BC partition.  (I'm offloading iTunes and iPhoto to external drives and freeing up 60+ Gb so I can make a bigger partition)
    Do I just run Bootcamp Assistant and do the deed as if I were starting from scratch, but specify a larger partition?
    The full scenario is that I have an HP laptop running Win7, and XP pro in Bootcamp.  I want to swap them.  Any advice on the process?  Activate/Deactivate/Reactivate dance.  I realize this is a Windows question, but someone may have done this before.
    Thanks for any help. 

    contrary to kappy, you can buy and use CampTune to resize.
    you can't use a HP install on Mac.
    you need a retail Win7 to activate on a different motherboard.
    Start from scratch. Anything else is likely to have problems.

  • Just installed Mavericks 10.9.2 on my IMac. Computer shuts down when I leave it unattended instead of going to sleep?, Just installed Mavericks 10.9.2 on my IMac. Computer shuts down when I leave it unattended instead of going to sleep?

    Just installed Mavericks 10.9.2 on Imac and now it wont go to sleep - it shuts down so have to restart repeatedly??

    Because there is a flaw in the App Store that gives you an alert you can never ever get rid of telling you to download Mavericks, even though when you click it then tells you your machine is too (I have to say 'darn' here because Apple automatically astersiks out the first word I used that also begins with d and is four letters) old.  So you have to live with that little  "1 update available" alert, though in reality, you cannot install it. You can imagine that either it is a sinister plot to wear away at you to buy some new hardware, even though yours is working just fine, or that it is a programming error Apple just doesn't care enough about to correct.

  • RRAS between 2 servers

    Hey
    we have 2 VPS servers with a single WAN NIC. (each server has its own public ip)
    DC01 is the domain controller
    TS01 is a terminal server currently working in a workgroup
    i installed the RRAS server on both of the devices and created a new domain user with dial in permissions.
    configured the ipv4 settings on dc01
    on the TS01 i created a new connection and for the start i choose PPTP
    when i create a connection from the network and sharing center everything works fine 
    however when i use the RRAS console with exact the same settings i got a error
    Server side >
    Log Name:      System
    Source:        RemoteAccess
    Date:          12/23/2014 10:20:55 PM
    Event ID:      20253
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      DC01.Domain.com
    Description:
    RoutingDomainID- {00000000-0000-0000-0000-000000000000}: CoId={3XXXXXXX64}: The user DOMAIN\user connected to port VPN3-126 has been disconnected because no network protocols were successfully negotiated.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="RemoteAccess" />
        <EventID Qualifiers="0">20253</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-12-23T21:20:55.000000000Z" />
        <EventRecordID>15381</EventRecordID>
        <Channel>System</Channel>
        <Computer>dc01.DOMAIN</Computer>
        <Security />
      </System>
      <EventData>
        <Data></Data>
        <Data></Data>
        <Data>DOMAIN\USER</Data>
        <Data>VPN3-126</Data>
      </EventData>
    </Event>
    ON the client
    The user SYSTEM dialed a connection named DC01 which has failed. The error code returned on failure is 720.
    how is it possible that the network and sharing center vpn works and the RRAS client not?

    I had some time to install a testlab
    I use vmware (but it should be exact the same on HyperV)
    First i created a new virtual switch with no connections at all
    Then i create 2 servers and attach them to the virtual switch
    TestL1
    IP: 1.1.1.1
    Windows server 2012 evaluation version
    remote access>RAS & Routing
    Secure connection betwean two private networks
    Demand dail > Yes
    Ip > specific pool
    10.0.0.1 - 10.0.0.100
    Error opening ports in firewall
    disable the windows firewall
    New connection wizzard appears
    Connection name TestL2
    Type: VPN
    ip: 1.1.1.2
    VPN:PPTP
    Route IP package to this interface
    10.0.1.0 255.255.255.0 Metric 5
    Dial-out credentials: administrator (no domain)
    Reboot
    TestL2
    IP: 1.1.1.2
    Windows server 2012 evaluation version
    remote access>RAS & Routing
    Secure connection betwean two private networks
    Demand dail > Yes
    Ip > specific pool
    10.0.1.1 - 10.0.1.100
    Error opening ports in firewall
    disable the windows firewall
    New connection wizzard appears
    Connection name TestL1
    Type: VPN
    ip: 1.1.1.1
    VPN:PPTP
    Route IP package to this interface
    10.0.0.0 255.255.255.0 Metric 5
    Dial-out credentials: administrator (no domain)
    Reboot
    After the reboot i noticed that non of the servers accept the RAS connection
    Go to settings and check IPv4 Remote access server
    goto ports > pptp >check Remote access connection (inbound only)
    This are brand new installations without any group policy's and not joined to the domain
    the only software installed is vmware tools

Maybe you are looking for