How do you join a server to an Active Directory (domain)? - windows

Need to launch a new ASP.NET site on this server but need to be joined to our Active Directory domain, anyone know how this is done?

The administrator of your domain would normally do that, and if he didn't know how, he'd consult a Microsoft Knowledgebase article (and if he was a she, she'd just know)

It depends on your OS. Up through Windows Server 2003 you need to:
Right-click on "My Computer" (on the server) and select properties
Select the "Computer Name" tab
Click "Change..."
In "Member of" select the "Domain" radio button
Enter the name of your domain
A popup will then appear asking you to provide the credentials of someone that has access to join a computer to the domain (ask your administrator about this one - many organizations allow employees to join computers to domains)
Reboot your machine when it prompts you to.
If it's Windows Server 2008 you'll have to select "Advanced System Settings" from the menu on the left after you select "Properties" on "My Computer".

Do you mean your application server or your database server? If your application isn't in active directory, it's most likely not on the domain. If you have a Sys or Network Admin, talk to them.

Related

Disable admin restrictions

My school has blocked literally everything on my windows laptop, I can't access cmd, gpedit.msc, regedit, setting/control panel and pretty much anything else you could think of that could disable admin restrictions. So how would i disable admin restrictions, i'm uses windows 10 (can find edition as info is blocked).i just need to be able to access one of the above mentioned things
You can not disable "admin restrictions" if you are not part of the admins group.
The Administrator is the account who can change any configuration in your computer.
There is a group called "Administrators" those accounts can change any configuration in your computer too if they have the administrator role asigned to that group.
By default the first account in your PC is the administrator.
Check this link for a better explanation.
try opening cmd using powershell by typing
"start cmd"

IIS hanging forever local website

I'm trying to set up the IIS so I can access my local web application project at dev.example.com. I have the physcical path set to the root of my web app, and the binding as shown in the picture below.
I have added this to the hosts file
But when trying to access it in chrome it just hangs forever.
Is there something I'm missing?
I had to set the permissions of my application pool identity
ApplicationPoolIdentity is actually the best practice to use in IIS7. It is a dynamically created, unprivelaged account. To add file system security for a particular application pool see IIS.net's "Application Pool Identities". The quick version:
If you application pool is named "DefaultAppPool" (just replace this text below if it is named differently)
Open Windows Explorer
Select a file or directory.
Right click the file and select "Properties"
Select the "Security" tab
Click the "Edit" and then "Add" button
Click the "Locations" button and make sure you select the local machine. (Not the Windows domain if the server belongs to one.)
Enter "IIS AppPool\DefaultAppPool" in the "Enter the object names to select:" text box. (Don't forget to change "DefaultAppPool" here to whatever you named your application pool.)
Click the "Check Names" button and click "OK".
I found the answer here
IIS7 Permissions Overview - ApplicationPoolIdentity

windows remote desktop can't connect even if the firewall is off

I am trying to let my pc, which run at win7, accessible remotely, but I am able to. I did the following:
checking "Allow Remote assistance connection to this computer.
a set a password for my account.
I setup the port forwarding on my router.
set my remote desktop communction program feild in my firewall,
ZonAlarm, to allow for everything.
yet it does not connect to my laptop remotely.
I even tried to see if I can connect to the same laptop from itself - usually it connects and try to load the windows but then fail loading. however even this test fail -
I have no other idea.
Any tips?
Running Windows 7 / Service pack 1
Make sure account has a password and you can ping the host
Start Button → (Right Click Computer) → Properties
Select Remote Settings on left of window
(if not selected) Select Remote tab
Select Option "Allow connections… running any version…"
Select OK
Restart Host (Sometime not necessary but to be sure)
Try to connect
If above fails Start Task Mgr (Start Button → cmd → TaskMgr) or (ctrl-alt-del)
Select Services Tab
Look for "TermService"
Right Click TermService and select start
If Access Denied Error
On Services Window Select Services Button (Bottom Right)
Find "Remote Desktop Services" Right Click select Properties
Set Startup type to "Automatic"
Right Click "Remote Desktop Services" select Start
I think you are forgetting something,
1.Set password for the account.
2.Check "Allow Remote assistance connection to this computer.
3.System properties>Remote>Remote Desktop>Select "Allow connections from computer running any version of remote Desktop"
4.open port 3389(default RDP port)
If you changed username of the account be aware that only name that's being displayed in windows changed.
run netplwiz and just change account name in there - it should work fine.
Posting it here in case someone runs in same problem in the future.
I fixed it by adding a user to the 'Select Users' list in Remote in system properties

ASP.NET -The current identity (Machine\ASPNET) does not have write access to 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'

I am having this issue on my Win XP Professional Development Machine. My application is on Virtual Directory.
The current identity (MachineName\ASPNET) does not have write access to 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.
I have done following so far.
1. Must Not Use Simple File Sharing. After Changing Settings, Pls Reboot.
Open your My Computer, the on menu, select Tool >> Folder Option the Select View Tab,
Uncheck Use Simple File Sharing
2 Adding User Permission
When you create virtual directory on IIS, the actual folder you used with it must have access permission
To do this, follow:
select the properties of your actual folder, then select Sharing Tab
select option Share This Folder
specify the ShareName (commonly folder name itself)
then select Security tab, you will see the Group and Username listed there.
to add ASPNET just click ADD
pop up window will appear "Select User or Group"
Click Advance and Click Find Now
All Users and Group will be listed there, try to find ASPNET and select OK
you will going to back on Security tab and select something like "RAD/ASPNET", under that you will see "Permission for ASP.NET"
for the last step, check Full Control under Allow Column, then OK
3 I Have tried, the aspnet_regiis exe in the framework folder!
Still does not work, Any other options or suggestions please..
Update:
My Hard disk is completely encrypted. Does it have any impact?
Encrypted shouldn't affect.
Try going to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files in a file windows explorer and give all access to your ASPNET and Network accounts.

Windows 7 - How to gain full admin rights when already part of administrators group?

I have a Windows 7 development machine and I am constantly encountering the "you do not have enough permissions" when running certain programs or trying to access log files. I am the only user on the machine and my account is part of the administrators group. Is this part of Microsoft's UAC "protection"? If so, is there a way to remove it so that an administrator account has full admin rights.
Usually, you can right click and select "Run as Administrator" to elevate the privilege. I believe, You can also turn it off from control panel (search for "User access control" in control panel). I would not recommend it though. If you have applications to start up with that privilege, you might want to modify the shortcut to have "Run as Administrator" set so that it will challenge you as soon as it starts.

Resources