Tag Info

Hot answers tagged

11

Upon the first login, the profile must be created. This takes longer than subsequent logins. Also, user GPOs must be downloaded and applied from the DCs. The length of this creation and GPO application process can take some time depending on GPO and local policy, but 1-2 minutes doesn't sound unreasonable. I'd hardly consider this a "slow" login.


9

So the real question here is that you want to move a profile from one OS install to another, retaining appropriate permissions on the user profile. While registry hacks may work, there's a better way. In the Windows AIK, there's a tool called "User State Migration Tool". Its explicit purpose is moving profiles from one OS to another (upgrading them as ...


8

At the most basic level, a Windows user profile is entirety of the files and directories that contain the user-specific data (a very basic way to look at it is the profile is anything and everything contained within the c:\users\username directory) as well as the various registry entries that contain user specific settings contained within the HKCU hive. A ...


6

If you have roaming profiles enabled then WinXP and Win7 already save their profiles in separate folders by default, even though you've only got one folder specified in Active Directory. Windows 7 will quietly append a .V2 to the end of the folder name used by WinXP, and then use the .V2 version of the folder ignoring the other one, so for example: ...


6

To hide additional user accounts on Windows & Logon Use Regedit (also works for Vista) at Run type regedit Once in regedit go to HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon In the left panel, right click on Winlogon and click New and click Key. Type SpecialAccounts and press Enter In the left panel, right click on ...


5

This is imho the best answer for installing windows quickly and effortlessly: Microsoft Windows Remote Installation Service and Windows Deployment Services A PXE server that offers installation of windows and slipstreamed applications and drivers across a network. The difference between the two is that WDS is newer, comes with 2k3 Server SP2 and 2k7, ...


5

You can use ssh -t to run setup scripts, then a shell, then cleanup scripts. ssh -t allows you to run commands, but still run one or more shells in the middle and allocate a terminal properly Your setup script can include wget'ing/curl'ing/scp'ing a temporary home directory to something like $HOME/tmphome, then running a script like this to start a shell ...


5

Nope. There isn't a way to migrate profiles from W2K3 to W2K8, they're not interchangeable and they're not interoperable. It's a headache but there's no way around the fact that you're going to have to manually copy the components you want (NK2 files, signature files, Favorites, etc.) from the old profiles to the new profiles.


5

Data doesn't roam with Folder Redirection. Data is redirected with Folder Redirection. A roaming profile roams with the user, meaning that the data in the user profile "roams" to whatever computer the user logs on to. Folder Redirection data doesn't roam at all. It's location is static, but it's redirected from the standard location (the local hard drive) to ...


5

Use the query user command Query User Command http://technet.microsoft.com/en-us/library/bb490801.aspx


4

I've finally found it: Right click on computer, and select propertie Right click on computer, and select properties Click on System Advanced Configuration Select Advanced options Tab On user profiles frames click on configuration Select the user from the list and then delete it Now the profile will be respawned the next time the user logs on


4

Standardize the OS. 3 flavors of windows workstation? Get everyone up to Windows 7. If you're not on a Microsoft agreement of some kind, look into it. For a 150-person company you can probably justify the cost in terms of how much labor cost you'd be saving over a year. Standardize the hardware. Make sure all workstation/laptop purchases from now on are ...


4

First, there's nothing wrong with using roaming profiles so long as they're implemented correctly. Just because they're an older concept doesn't make them any less useful or valid in today's IT environment. Roaming profiles were not designed with the intention of one user per PC and one PC per user, they were designed for your exact use case, one or many ...


4

Use the group policy setting "Do not log users on with temporary profiles", to be found in Computer Configuration -> Policies -> Administrative Templates-> System -> User Profiles.


4

Must have to do with diff between su-ing over ssh vs when logged directly into machine I suspect that you execute the su command without dash (-), and if so, it will invoke an interactive non-login shell. Combine with you have only following in /root/.bashrc: # Test for an interactive shell. There is no need to set anything # past this point for scp ...


4

You'll need to assign the user full access permissions recursively to the old profile folder. You'll also need to do the same for the registry hive (NTUSER.DAT) in the old profile. Then you'll need to edit the ProfileImagePath key as you've previously noted. To assign permissions to the profile folder: Log in as a user with administrative rights. ...


4

The per-user wallpaper setting is stored, in the registry, as a REG_SZ value named Wallpaper, under the key HKEY_CURRENT_USER\Control Panel\Desktop. If the user is logged in, or their hive is otherwise mounted, you would find the key under HKEY_USERS\User's SID. If the user is not logged in, you would need to mount their hive under HKEY_USERS first. User ...


4

i had the same problem. I have to set up a P.C. classroom for students with mandatory profiles without the use of an active directory domain server. I needed to setup and customize a LOCAL mandatory profile on a sample machine for replication. I wrote some notes to describe the working solution, in italian, below an attempt to translate it (i apologize for ...


4

No, the profile format is different between Windows XP and Windows 7; you can't use a roaming profile between these two systems, even on a native Active Directory domain. More info here: http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx.


4

This seems like a pretty silly business requirement. But you're not here looking for opinions. So on to suggestions. The main problem is that you're essentially trying to give conditional access to the same set of windows domain users. There's really no good way to do what you want. A user either has permissions to a file share or they don't. Like you ...


4

Renaming the folder wouldn't be the best choice, as it contains registry settings that are specific to your domain user. Plus permissions would have to be changed, although that's not a huge deal if you're a local admin. Trying to change it over would result in quirks and weirdness, in my experience, and in the long run it will be a pain. What you can do ...


4

Never tested, but you have to : 1 - copy the user's folder (with the same permissions, beware : they are not the same for some files) - often found in C:\users\ or C:\Documents and Settings\ 2 - copy the user's profile key (with the same permissions again) - found in HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS NT\CurrentVersion\ProfileList\ Already tested ...


4

This is the wrong way to go about getting login notifications, as users can change their profile or defeat this in a myriad of ways. Instead, write a little script that watches your auth log and sends email when someone authenticates successfully.


4

Use ~/.bash_completion From the Bash Completion FAQ: Q. How can I insert my own local completions without having to reinsert them every time you issue a new release? A. Put them in ~/.bash_completion, which is parsed at the end of the main completion script. See also the next question. Q. I author/maintain package X and would like to ...


3

The LastLogon property of Win32_NetworkLoginProfile should have it. On the Win7 machine I'm looking at right now, I opened wbemtest and ran: SELECT Name,LastLogon FROM Win32_NetworkLoginProfile The only entries that came back with <null> values for LastLogon were the built-in accounts like NT AUTHORITY\SYSTEM. All the other accounts in the list ...


3

I'm having some difficulty parsing your question. It sounds like you're saying that viewing these directories from Explorer on a Windows XP client computer, which, presumably, are filled with lots and lots of small files, is causing that Explorer process on the Windows XP client to "hang". It sounds like you're saying that looking at these directories via ...


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

WDS comes to mind, as it is free with Windows Server and is pretty painless to configure. It will allow you to create a custom image with software pre-installed. You can also make a stand-alone solution with Windows PE and unattended answer files created with WAIK. For paid solutions, there is Ghost, Acronis, Altaris, etc. If you are using individual OS ...


3

How about using the method built into Windows instead of trying to script this? Just create group policy using the following setting. Policy: Delete user profiles older than a specified number of days on system restart Category Path: Computer Configuration\Administrative Templates\System\User profiles\ Supported On: At least Microsoft Windows ...


3

wmic path win32_userprofile where special!=true delete or the VBScript/PowerShell equivalent with the necessary WMI calls. The special parameter is redundant, since it will fail to delete special profiles (default profile, NetworkService, LocalService, etc.). If you log output, it will cut down on noise.



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