Windows 7 with Login Script from 2008 R2 server Duplicates Drives

I have a single user that when they login to the domain and their login script runs, it ends up giving them duplicate drives. I can copy the script to another account and not have the issue. I have not tried logging in as the user on another machine yet,
to see if the error follows the account. Anyone have any thoughts on what might be causing this? I have removed all of the drives from both the command line using
net use /del *
An example of the login script is
net use z: /delete
net use z: \\servername\sharename
Its random which drives it will duplicate to.

Hi Mgibson-TC,
Can we run this script locally to check what’s the result?
You can try Ed (DareDevil57)’s suggest first, if this issue persists, we can do some tests to narrow down this root cause.
Alex Zhao
TechNet Community Support

Similar Messages

  • How to reduce configuration cache file Quota size located in ( C:\Windows\ccmcache ) for all client from SCCM 2012 server

    How to reduce configuration cache file Quota size located in ( C:\Windows\ccmcache ) for all client from SCCM 2012 server
    Thanks in Advance
    NTRao

    Hi,
    There are numerous ways to change the cache size.
    You could deploy a vbscript to a collection of the devices.
    On Error Resume Next
    Dim UIResManager
    Dim Cache
    Dim CacheSize
    CacheSize=20000
    Set UIResManager = createobject("UIResource.UIResourceMgr")
    Set Cache=UIResManager.GetCacheInfo()
    Cache.TotalSize=CacheSize
    Or you could use a configuration item.
    http://blog.coretech.dk/heh/configuration-items-and-baselines-using-scripts-powershell-example/
    You can also use the right click tools by Now Micro on a collection, if all the servers are on this would be the easiest / quickest way.
    http://www.nowmicro.com/recast/right-click-tools/
    http://www.david-obrien.net/2013/02/how-to-configure-the-configmgr-client/
    select SMS_R_SYSTEM.ResourceID, SMS_R_SYSTEM.ResourceType, SMS_R_SYSTEM.Name, SMS_R_SYSTEM.SMSUniqueIdentifier, SMS_R_SYSTEM.ResourceDomainORWorkgroup, SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion like '%6.2%'
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

  • MAPIResolveName on Windows 7 with Crystal 11 and 2008

    Hi
    I am using Crystal 11 on Windows 7, when utilising the MAPI export functionality provided by Crystal I receive an error relating to MAPIResolveName, which after some searching appears to be an obsolete MAPI function from previous versions of Windows. I have tested this under Windows 7 with both Crystal Reports Writer 11 and Crystal Reports Writer 2008, and get an identical error with both.
    As this is an issue with the implementation of MAPI within Crystal, I was wondering if you have a fix for this?
    Thanks in advance,
    Gaz

    Update to the final patches levels:
    CR XI R2 - Service Pack 6 and then Fix Pack 6.2 ( need to get this manually sent )
    CR 2008 - Service Pack 2 and then [Fix Pack 2.6|https://smpdl.sap-ag.de/~sapidp/012002523100004723372010E/cr2008fp26.exe]
                   - [Service Pack 3 full build|https://smpdl.sap-ag.de/sapidp/012002523100009989492010E/cr2008_sp3_fullbuild.zip] and then [Fix Pack 3.1|https://smpdl.sap-ag.de/sapidp/012002523100010605962010E/cr2008sp3_fp31.exe]
                   - Service Pack 3 [incremental|https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe]
    It is in all of the main code streams now so should not be an issue going forward unless new updates to are done to MAPI which is out of our control.
    Edited by: Don Williams on Oct 14, 2010 7:13 AM

  • Installing Windows Updates with VB Script

    Hello,
    I'm using the script from 'http://msdn.microsoft.com/en-us/library/windows/desktop/aa387102%28v=vs.85%29.aspx' to install all updates for windows.
    The script works fine for Windows Server 2008. If i execute it on a Windows Server 2012 it installs all the updates but it does not refresh the 'View update history' (Control Panel\All Control Panel Items\Windows Update\View update history).
    Do I have to add/change something in the script?
    Thanks & Regards
    Zach

    Hi Zach,
    For the VBScript issue, please go to the official scripting Forum for more effective support:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Thanks for your understanding.

  • How to skip password demands during DB creation with shel scripts from DBCA

    When Generating a Database automatically with scripts from DBCA passwords are asked 2 times 1 at begining and 1 at ora.ini DB initialization.
    Should I replace lines like
    connect "SYS"/"&&sysPassword" as SYSDBA
    with the real password since its a public password for testing databases.
    P.S.
    If such small questions are not apropriate and a burden to the cmmunity you may inform me.
    Till now if I can't find something on common search keywords, I add it, believing its a contribution to the Oracle communities knowledge base

    I found the solution. As MarkDPowell pointed out, the input prompt happens cause of ACCEPT so have to comment it out.
    And I can pass my own public password as a variable with DEFINE - http://docs.oracle.com/cd/B10501_01/server.920/a90842/ch13.htm#1008884
    P.S.
    I try not leaving non-Answered threads.

  • Create text file with login script

    I have a login script (loginhook)
    This line works fine :
    sudo -u $1 defaults -currentHost write com.apple.iWork.Pages FirstRunFlag -bool TRUE
    This line does nothing:
    sudo -u $1 echo "never" >> ~/Library/Preferences/com.adobe.57.ALL.registration
    but it works if I type it in the terminal once I am log in:
    echo "never" >> ~/Library/Preferences/com.adobe.57.ALL.registration
    Any idea what is missing?

    This is what your environment looks like while running a loginhook
    PWD=/
    SHLVL=1
    SECURITYSESSIONID=ceb19270
    _=/usr/bin/printenv
    uid=0(root) gid=0(wheel) groups=0(wheel)
    You might be able to get something like
    eval sudo -u $1 echo "never" >> ~$1/Library/Preferences/com.adobe.57.ALL.registration
    Notice the need for 'eval', however, I would hope you have a more reliable way of getting the desired user's home directory.
    You might also try
    sudo -u $1 echo "never" >> /Users/$1/Library/Preferences/com.adobe.57.ALL.registration
    assuming your user accounts are all in /Users

  • Call procedure with MS SQL from linked Oracle server

    I have a procedure on a remote server that I can call from SQL*PLUS
    set serveroutput on
    declare rez varchar2(99); msg varchar2(99); begin radar.test('AL25',rez,msg); dbms_output.put_line('Rez='||rez);
    dbms_output.put_line('Msg='||msg);
    end;
    it gives me the neccessary result.
    But I need to call the same procedure with MS SQL from a linked Oracle server, I'm trying to do it through openquery for a while, but no success yet.
    Can someone tell me what is the right syntax for that query in OPENQUERY?

    Have you tried configuring Oracle Heterogenous Services/ Transparent Gateway? This would let you link Oracle to SQL Server via a database link which should solve your problem.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com

  • Performance issues home sharing with Apple TV2 from Mountain Lion Server

    I have a Mac Mini which I have just upgraded to Mountain Lion Server from Snow Leopard Server.
    I have noticed that the performance of Streaming a film using Home Sharing to an Apple TV2 has degraded compared to the Snow Leopard setup. In fact the film halts a number of times during play back which is not ideal.
    I have tested the network between the 2 devices and cannot find a fault.
    Has anyone come across this problem before.
    Are there any diagnostic tools I can use to measure the home sharing streaming service to the AppleTV2 device.
    Any help much appreciated

    Well, I tried a few other things and one worked but again just the first time I tried connecting to the desktop PC with iTunes. I flashed my router with the latest update and the ATV2 could see the iTunes library and I was able to play media. Later in the day I was going to show off to my daughter that I had fixed it and, to my dismay, no go. I tried opening the suggested ports but no luck.
    I then tried loading iTunes on a Win7 laptop and it works perfectly with the ATV2. Both the laptop and the ATV2 are connected to the router wirelessly while the Desktop is connected to the router by Ethernet. Not sure if this is part of the issue as it sounds like this didn't work for others. The only other difference between the laptop and desktop is that the desktop has Win7 SP1 loaded while the laptop does not; now I'm scarred to load it though I don't think that's the issue. All in all, a very vexing situation. Hopefully Apple comes up with a solution soon.

  • SQL Windows Authentication with Login of AD Group 'Domain Admins'

    Having a bit of a difficulty with Microsoft SQL Server 2012 windows authentication integration...
    The server is setup to have Windows authentication used as its means of login authentication. No issues with this other than a strange error that occurs on multiple SQL servers in our domain: 
    When a login is created for domain group "[domain]\Domain Admins", users within this AD group cannot connect to the SQL server through the Management Studio. The error that SQL server gives is Error 18456, Sate 11, i.e. "Valid login but server
    access failure"
    However when a different AD group is added as a login (like [domain]\[group]), users from this group can successfully log into SQL server. It seems that adding any other group, even groups from a different domain, grants successful authentication as I would
    expect EXCEPT the AD group 'Domain Admins".
    Is there some restriction/security feature at play here on this AD group that makes using the 'Domain Admins' group as a login not possible? 
    Andrew

    Yes, this group was removed and readded just yesterday to try to fix the issue.
    Here is the output of the command:
    class
    class_desc
    major_id
    minor_id
    grantee_principal_id
    grantor_principal_id
    type
    permission_name
    state
    state_desc
    105
    ENDPOINT
    2
    0
    2
    1
    CO  
    CONNECT
    G
    GRANT
    105
    ENDPOINT
    3
    0
    2
    1
    CO  
    CONNECT
    G
    GRANT
    105
    ENDPOINT
    4
    0
    2
    1
    CO  
    CONNECT
    G
    GRANT
    105
    ENDPOINT
    5
    0
    2
    1
    CO  
    CONNECT
    G
    GRANT

  • Recover Windows 7 with Recovery Media from WXP

    Created a Recovery Media from a preinstalled ThinkCentre (M58p) Windows 7. Stored on DVD including WINR.WIM total size 257 Mb. Installed Windows XP using Lenovo RnR DVD's. So far no problem.
    Now wanting to know how I can recover the factory W7. Used the Recovery Media W7, Windows starts Product Recovery, selected method 'Restore to factory default state'.
    Wizard asks for Product Recovery Disc 1.
    I created the Recovery Media in assumption having the opportunity to restore the factory Windows 7.
    Do I need the recovery disks of Lenovo for this? Does the Recovery Media only work in combination with W7 OS?
    F11 starts RnR for the WXP. The recovery partition of W7 seems to be deleted by the recovery of WXP.
    In the past (pre-ThinkVantage-period) I used Ghost for the original factory OS's, did work nicely.
    Solved!
    Go to Solution.

    Hi,
    welcome to the forum.
    Ok, so let's start from the scratch. What you have created while the Win7 was instaled was not an "image" nor a backup of your system. That was just a bootable "Rescue" disc, so that in case you cannot boot up into OS, you can boot from this CD and this will give you some options to save your date, etc.
    Unfortunately on your protection I have to tell, that it is a bit harder to differ the two buttons, where one says "Create Rescue and Recovery disc" and the second one "Create recovery media". The one will create a disk, like you have. The second one will create you a new set of recovery CDs, that you could use for the restore of your system.
    So in this situation, where also the original RnR Win7 partition is gone, Is the only chance to get back to Win7, to call support and ask for the Recovery CDs.
    Let me know, if this post helps you. a bit.
    Also feel free to asky any add question.  I'll be happy to answer them if I know the correct answer
    Cheers

  • Problem with action script from Schewe and Frasier book.

    I am working on a Photoshop CS3 action script to
    open raw files, do a couple of modifications
    in Camera Raw, exit camera raw and save
    the file as a jpeg.
    I think this should work, because I am working
    on an example out of "Camera raw with Adobe
    Photoshop CS3" by Schewe and Frasier which
    shows the step recorded.
    See page 344 of Schewe and Frasier.
    In figure 9-11 you see, after the open
    statement, 10 lines of details like
    "As camera raw"
    "Model:Canon 350d" etc.
    I get the file path and name line, but
    none of the other details reflecting
    actions in Camera Raw.
    The problem is that in setting up the action, none
    of the steps done in camera raw after I do the
    open get recorded.
    And it works in my old CS version !
    Out of frustration I repeated the action
    script creation in my old CS version and
    it worked fine.
    Any idea where I am screwing up ?

    Crappy format justification:
    I sometimes have a day of family
    type pictures that are in raw format
    that I want to put up on the internet
    quickly. I would like to be able to
    apply the "Auto" feature, as in general
    it seems to be pretty good for something
    quick.
    OK, it sorta works in CS, go here
    http://www.angelplace.net/photos/sample.jpg
    It sets up all of the details and gets the
    "As camera raw" but opens the .dng file
    rather than the Camera raw window.
    The point is, these important settings
    seem to be saved, which does not happen
    in CS3.

  • Setup Mail Client Imap with login differt from email

    hi,
    i am facing a small issue with the Email app on my Z1.
    i am able to setup my email account and even send with the email.
    but people get the wrong adress displayed to reply to.
    we have a mail server setup with different domain extentions. .net, .com,.org.
    so our login is just our domain name I.E : username@domain   instead of the standard [email protected]
    this was done specifically to show that you login for all those domains. thats internal setup.
    so when i setup my mailaccount i specify the username@domain wich is my login.
    i get all my emails, i am able to send emails
    but it says its comming from Username@Domain.
    whereas the account name is [email protected]  he keeps insisting the email adress linked to this account is username@domain.
    is there a workaround for this situation?
    this is my professional email. i cannot reply from my phone cause replies from clients on my reply would never arrive to me.
    i tried looking in all the settings but i cannot find anywhere how to specify the email adres that i used.
    thanks for any assistance

    nobody any ideas?

  • How to migrate logins from 2008 SQL server to 2012 SQl server

    Hi,
    How to migrate all logins from  default SQL server2008(enterprise edition) to 2012 SQl server(enterprise edition)default

    Hi BomaSri,
    Have you tried v.vt’s suggestion? That article describes how to transfer the logins and the passwords between instances of Microsoft SQL Server 2005, of Microsoft SQL Server 2008, and of Microsoft SQL Server 2012 on different servers. The commands apply
    to SQL Server 2005, SQL Server 2008 and to SQL Server 2012.
    Allen Li
    TechNet Community Support

  • Problem with login script

    Hi Folks,
    I'm logging people into my intranet by using LDAP and I'm
    using cflocation to redirect them once they've logged in.
    Im using the cgi variables to get the url and using
    cflocation to redirect them if they login to the intranet using
    absolute URL.
    Is there anyway I can stop CF from passing the CFIDE session
    variables?
    It works if i use a meta refresh, but Im trying to get
    cflocation to work.
    Hope that makes sense.
    Thankyou

    Isn't it just...
    <cflocation url="wahetever.cfm" addtoken="no" />

  • How can I install Windows 7 with Boot Camp from a Usb memory stick?

    What exactly do I need to do to the memory stick?

    Depends on the game. Most programs have no problem installing on an external drive.
    Of course depending on the game, performance may or may not be an issue. A crossword puzzle game will perform better than a real time fast action game running from an external drive.
    2.5, 3.5, 5400rpm, 7200rpm, SSD drives come as internal or external drives. The external frives have an enclosure to hold the drives. Otherwise they are the same. You can buy empty enclosures into which you would put your drive, if you have an internal drive you want to use as an external drive.

Maybe you are looking for

  • Email pushing not working correctly for office email - 3 seperate devices/carriers

    We switched email hosts several months ago and since our email pushing has not worked correctly. Our host/IT guy has been very unwilling to help me through this (I get the pleasure of being the in-house IT source) I personally am on AT&T have no prob

  • How to sum colmn for evey day in the month

    All if i have a table that has username, volume, date And i want to sum the volume for everyday of the month, does anyone have an example.

  • Oracle 8.1.7 on Redhat 9: Tns Listener TNS-12545, TNS-12560, TNS-005 errors

    I have installed Oracle 8.1.7 on RH9 following Arothmel at www3.sympatico.ca/arothmel with success. The database is created, and oracle can be lunch without problem but "lsnrctl start" give errors: [oracle@padbd oracle]$ lsnrctl start LSNRCTL for Lin

  • More event problems

    Hello again, I have yet another event problem. When I try to use this code I get an error saying Abstract class actionPerformed is not implemented in non- abstract class TableWindow. I'm not quit sure how I'm supposed to implement it.

  • Changing MEMORY_TARGET: help please

    Hi, I have Oracle 11g installed in a VMWare image(linux). The current setting of 1G for the memory (I read it in the init.ora, parameter memory_target=1G) is too much for my PC. I set memory_target parameter=300M in init.ora but this does not seam to