Tag Info

Hot answers tagged

36

.bash_profile and .bashrc are specific to bash, whereas .profile is read by many shells in the absence of their own shell-specific config files. (.profile was used by the original Bourne shell.) .bash_profile or .profile is read by login shells, along with .bashrc; subshells read only .bashrc. (Between job control and modern windowing systems, .bashrc by ...


12

% reg.exe delete HKCU\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook /f % reg.exe add HKCU\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook This will delete the default profile called Outlook, and then recreate it with no settings. Then when you re-run Outlook, it will launch the wizard.


10

Windows XP profiles are not compatible with Vista/W7 profiles out of the box. Microsoft has a whitepaper Managing Roaming User Data Deployment Guide which includes a section called 'Windows Vista and Windows XP Roaming User Profile Interoperability'. This document contains the details you need to get as much compatibility as possible on Vista, I believe ...


9

According to the bash man page, .bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells. So, what is a login or non-login shell? When you login (type username and password) via console, either sitting at the machine, or remotely via ssh: .bash_profile is executed to configure your shell before the initial ...


8

You can add them to your powershell profile


7

There's actually not one solution to this, but a kazillion. The single sign-on that Active Directory does, is nothing more than Kerberos and delegation of credentials. We can do that too, using a Linux KDC or your old domain controllers. No problem: there's your domain users. Roaming profiles exist (iirc, my Windows days are far behind me) in different ...


7

There are several potential ways to do this. Probably the simplest is to do some variation of the following: Join the domain Log in as the new domain user, and log out Log back in as an account with admin rights on the box (but not either the old or new user accounts) Go to control panel, system, advanced in User Profiles, click the Settings ...


6

I would start off first with figuring out what business objectives you hope to achieve. The example of disaster recovery is a good one. What happens if a user is storing files locally that aren't backed up? There is probably a cost there...if it is a document that took them weeks to make, there is a clear cost to the company. So come up with a list of ...


6

There is no way to do this natively with Microsoft tools. You will need to purchase an OST to PST converter. OST's can only be opened on the machine they were created on, by the profile that created it. That is why there are so many companies selling these OST converters.


6

For older systems Windows XP/2003 you can create a couple Template accounts and simply copy the templates. When you copy the accounts many of the fields will start with the copied values. In your templates use variables like %USERNAME% instead of the username. Another option is to script account creation with Powershell or vbscript. Look around there are ...


5

The structure of user profiles changed between Windows 5.x (XP, Server 2003) and Windows 6.x (Vista, Server 2008, 7). The 64-bitness does not affect the user profile structure. Under Windows 5.x, only one folder inside the user profile was clearly made visible to users: "My Documents". All user data was supposed to be stored underneath "My Documents" in ...


4

I've done this several times, typically copying the "My Documents" and "Desktop" into redirected folders by hand during the process. I like doing this in migrations because it preserves the user's look and feel of their environment, as well as their data files. If you're copying around registry hives (NTUSER.DAT) as files into the new profiles, be sure that ...


4

To generate a new profile along with renaming the user profile folder, you also need to remove the profile from the registry. This is found in HKLM/software/Microsoft/windows nt/current version/profilelist Scroll through until you find the correct username. Delete this string and then log back onto the computer with the account and it will create a new user ...


4

Windows 7 and Vista use a new format for user profiles. It's not your server being incompatible, it's Vista and Win7 being incompatible with 2000/XP profiles. Check your roaming profile directory, and you'll notice that you'll have a .V2 folder there (thats your Win7/Vista profile). A half-way solution to this is folder redirection of the desktop and my ...


4

At the user's shell prompt: source ~/.profile Or . ~/.profile


4

Use group policy folders redirection to redirect My documents to any other location: http://support.microsoft.com/?id=216463 http://technet.microsoft.com/en-us/library/cc737434%28WS.10%29.aspx


4

You want to use the transfer wizard to put all the stuff in your profile in the right spots on your windows 7 system. You can also specify additional folders to migrate at that time (if they are not already selected). the Wizard will also transfer your office files and settings and translate them across versions (although files will not get "upgraded").


4

We have found that redirecting as many folders as possible greatly reduces the amount of data that ends up the profile. I would be reluctant to redirect appdata though, you may want to test that. Personally, I think that a terminal server that will need to support many users needs to have a huge C:\ partition. This is especially true if not redirecting ...


3

I think that source is a bash builtin, so if you aren't finding it when you are logged in as root, then you might not be running bash. You can try starting a bash shell just by typing bash. Or try the syntax . /etc/profile instead. Example (notice the space between the dot and /etc/profile): jed@jed-osx:~$ . /etc/profile Since source didn't work for you, ...


3

You could use roaming profiles (RP) in a slightly unusual fashion: configure the location of the roaming profiles so that they are stored on a local drive not affected by DeepFreeze. For example, set the roaming profile path like: E:\Profiles\%UserName% instead of the more ususal: \\Server\Profiles\%UserName% Alternative: There are several products on ...


3

You may want to look into the 389 Directory Server Project (Formerly FedoraDS) which is an LDAP server. http://directory.fedoraproject.org It would take the place of Active directory (it is completely configurable to do tls authentication and provides a new GUI for an admin). Then you set up NFS shares on a server (as wzzrd mentioned), set your automount ...


3

Yes it is possible. See this kb article- Relocation of the Users directory and the ProgramData directory. The best way to do it is during the install. Manually moving it after the system is installed will probably not be supported by Microsoft. If you don't follow the recommended method for relocating the folder you can have problems. Do make sure you ...


3

You'd want to implement some of these settings through Group Policy. If you're new to GPOs, this excel docs might come in handy (you should mention which server OS you're using): Group Policy Settings References for Windows and Windows Server Your other alternative is to look at scripting these: ...


3

A note on licensing, since you brought it up. Don't bother trying to sysprep and deploy an image with an OEM license, if that's what's been used. Sysprep is not supported for OEM licensed copies (of XP, at least). Tho if someone's found a way around this (other than fudging it with MSDN license keys), I'd be happy to know. ;) Here's what I'd do: Test ...


3

I think you're probably outta luck, unfortunately. There's no documented way to assume the identity of another user in Windows w/o using their password. That "problem" underlies what you want to do. There are definitely times when I wish I could just "su" to another user's identity... It sounds like you want to replicate the specific actions taken by ...


3

Does anything show up in the Windows Event log for when the user logged out yesterday (after you restored his profile), or today (when he got the new profile)? Does the machine have UPHClean.exe installed? UPHClean will help processes unhook from the registry on logoff, and add useful entries to the event log. These entries may help you troubleshoot what is ...


3

I appreciate all of the responses and I apologize if my question was out of context for the site. The issue was finally resolved with some removals of the computer account from the domain, as well as deletion of the temp and domain user profiles on the local machine. Again, I apologize if this is out of context for the site.


3

Likely the user who created the workstation image forgot to remove their profile before sysprepping. This is even more likely the case since the time it was created is the exact same on all machines.


3

Using bind only makes sense in a interactive shell. In somescript.sh check if the shell is interactive and only run bind if it is. For example, if [ -n "$PS1" ]; then bind -x '"\e[M":'$'"ls -l"'; fi


2

Solved: It's CATALINA_OPTS not JAVA_OPTS. The HOWTOs are wrong. Reference: Tomcat Docs Regarding Profiler



Only top voted, non community-wiki answers of a minimum length are eligible